Skip to content

Popover

Anchored floating content — native Popover API, repositions on scroll and resize.

Installation

npx nimbus-docs add popover

Preview

Anchored content positioned next to the trigger.

<Popover>
<PopoverTrigger>Open</PopoverTrigger>
<PopoverContent placement="bottom-start">
  Anchored content positioned next to the trigger.
</PopoverContent>
</Popover>

API reference

Every prop the component accepts, sourced from a single declaration.

Prop Type
placement
"bottom-start" | "bottom-end" | "top-start" | "top-end"
Components

Type to search…

↑↓ navigate ↵ select Esc close