Popover
- The Popover component with context.
PopoverContent
- The content for the popover.
PopoverHeader
- The header for the popover.
PopoverBody
- The body for the popover.
PopoverFooter
- The footer for the popover.
PopoverCloseButton
- The close button for the popover.
PopoverAnchor
- The anchor for the popover.
PopoverArrow
- The arrow for the popover.
PopoverTrigger
- The trigger for the popover.
When Popover opens, focus is sent to PopoverContent. When it closes, focus is returned to the trigger.
Most of the time, you'll want to control the popover's open state. Use useControllable
hook to do that.
You can set the initial focus element using initialFocusRef
prop.
You can customize the placement of the popover relative to the trigger element using the placement
prop.
You can customize the reduce motion behavior of the popover using the reduceMotion
prop.