Components
Popover
Displays rich and interactive content in a portal, triggered by a button or other interactive element.
Installation
pnpm dlx shadcn@latest add https://reui.io/r/popover.json
Examples
Default
Loading
API Reference
This component is built using Radix UI Popover primitives. For detailed information, please visit the full API reference.
Popover
This component is based on the Popover.Root primitive. For more details, refer to the original documentation.
PopoverTrigger
This component is based on the Popover.Trigger primitive. For more details, refer to the original documentation.
PopoverContent
This component is based on the Popover.Content primitive and includes the following custom props:
Prop | Type | Default |
---|---|---|
align | ||
sideOffset | ||
className |