Popover
FREEFloating panel anchored to a trigger, with a smooth scale-in.
Installation
Terminal
npx @bloxa/cli add popover
# or: npx shadcn@latest add @bloxa/popoverPackages installed automatically: radix-ui
Examples
Panel with a form
API reference
Every component also accepts the props of the element it renders.
PopoverContent
| Prop | Type | Default | Description |
|---|---|---|---|
| side | "top" | "right" | "bottom" | "left" | "bottom" | Which side it opens on. |
| align | "start" | "center" | "end" | "center" | Alignment relative to the trigger. |
| sideOffset | number | 6 | Gap from the trigger in px. |