Popover
overlaysFloating content panel with click trigger, outside-click dismiss, Escape key close, optional title with close button, and role=dialog. Supports both controlled and uncontrolled open state.
Import
typescript
import { Popover } from "packages/ui/src";Props
PopoverProps
| Prop | Type | Required |
|---|---|---|
trigger | ReactElement | Yes |
title | string | No |
children | ReactNode | Yes |
open | boolean | No |
onOpenChange | (open) => void | No |
Examples
Popover Component
Floating content panel with click trigger, outside-click dismiss, Escape close, title, and role=dialog. 46th component.