Popover
Rich content anchored to a trigger — with its own layout, unlike a tooltip or a menu.
Loading documentation…
Three components float above the page, and they do different jobs:
Tooltip for a label — a few words, no
interaction.Dropdown for a list of actions.Popover for anything with its own layout: filters, a form, a preview, a
short explanation with a link in it.Passing title (and optionally description) renders the heading block and a
close button for you. Without them the popup is a bare surface and you own
every pixel of it.
side and align set the preferred position; it flips and shifts on its own
when the space is not there.
Base UI's root: open, defaultOpen, onOpenChange, plus the usual
interaction props.
A heading above the content. Its presence also adds the close button.
A muted line under the title.
Forces the close button on or off.
Preferred placement.
Alignment against the trigger.
Gap between trigger and popup, in pixels.
Escape hatch for anything else the positioner supports.
Merged into the popup — a different width, more padding.
Anything that opens it.
Closes it from inside the content.
The raw parts, when you would rather build the header yourself.