Popover
Anchored floating content — native Popover API, repositions on scroll and resize.
Installation
npx nimbus-docs add popover yarn dlx nimbus-docs add popover pnpm dlx nimbus-docs add popover bunx 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" |