A popover is a non-modal dialog that appears when a user clicks a trigger element. It's used to display additional information or a set of related actions in a small container that is attached to the trigger.
When to use
When to avoid
Specifications
Position
Beak alignment
Start
Middle
End
Content types
Behavior
Trigger
The popover must appear on a user click or tap.
Dismissal
The popover should close when the user clicks outside of it, clicks the trigger element again, or presses the "Esc" key.
Focus management
For accessibility, when the popover opens, keyboard focus should move to the first interactive element inside it. When it closes, focus should return to the original trigger element.
Anatomy
1
Content
A flexible slot designed for or custom content.
2
Beak
A small caret that visually connects the popover to its trigger element and can be positioned on any side of the content area via the position prop.