bloxa

Popover

FREE

Floating panel anchored to a trigger, with a smooth scale-in.

Installation

Terminal
npx @bloxa/cli add popover
# or: npx shadcn@latest add @bloxa/popover

Packages installed automatically: radix-ui

Examples

Panel with a form

API reference

Every component also accepts the props of the element it renders.

PopoverContent

PropTypeDefaultDescription
side"top" | "right" | "bottom" | "left""bottom"Which side it opens on.
align"start" | "center" | "end""center"Alignment relative to the trigger.
sideOffsetnumber6Gap from the trigger in px.