Popover
Show details or actions next to an element.
Basic usage
Click the trigger to open. Escape, an outside click or focus leaving dismisses the panel.
Examples
Hover details
Hover mode is for descriptive content and also supports keyboard focus. Use the default click mode for forms or buttons.
Controlled editing
Control visibility with open and onOpenChange. Saving updates the project name; reopening after an unsaved close restores the saved value. Click mode moves focus into the panel by default; saving or pressing Escape returns it to the trigger.
Panel placement
Set the preferred position with placement; it adjusts when space is limited.
API
Popover API
Configure popup content, triggers and controlled visibility.
The trigger must forward its ref and events. Provide aria-label when there is no title. Tab can leave the panel; focus is not trapped. See PopupOptions for shared popup options.