Overlays/Popover
Popover
A floating panel that appears on click, positioned relative to a trigger element. Dismisses on outside click or Escape key.
import { Popover } from "@animui/ui"Basic
Placement
Rich content
Props
| Prop | Type | Default | Description |
|---|---|---|---|
trigger | React.ReactNode | — | The element that opens the popover on click. |
children | React.ReactNode | — | Content rendered inside the floating panel. |
placement | "top" | "bottom" | "left" | "right" | "bottom" | Which side of the trigger the popover appears on. |
className | string | — | Additional classes for the popover panel. |