Popover
Popover component with positioning.
Installation
npx popcn add popoverBasic Usage
Default
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| align | "start" | "center" | "end" | "center" | Alignment of the popover |
| side | "top" | "right" | "bottom" | "left" | "bottom" | Side of the trigger to show the popover |
| sideOffset | number | 4 | Distance from the trigger |