Popover.
An anchored floating panel for contextual UI.
The preview uses the actual shared component, including your current theme, rounding, border and motion preferences.
Props & API reference
Parameters available in the shared component, including value types, requirements and accepted options.
| Parameter | Type | Required | Default | Possible values | Description |
|---|---|---|---|---|---|
children | ReactNode | Yes | — | — | PopoverTrigger and PopoverContent. |
open | boolean | No | — | true · false | Controlled popover visibility. |
defaultOpen | boolean | No | false | true · false | Initial visibility. |
onOpenChange | (open: boolean) => void | No | — | — | Visibility callback. |
placement | "bottom-start" | "bottom-end" | No | bottom-start | bottom-start · bottom-end | Floating surface alignment. |