Skip to main content

Popover

Click-triggered floating panel with alignment, compact density, header/footer helpers, motion, and Escape dismiss.

Basic

Controlled

Icon-only trigger

With header & actions

Alignment

align positions the panel relative to the trigger — not the trigger on the page. Triggers stay left-aligned here so you can compare panel placement.

Opens above

Compact

Animation variants

Panels use spring enter/exit by default (like Animate UI Popover). Press variants affect the trigger; enter variants affect the panel open/close.

animationVariant — click each control to compare press feedback.

enterAnimationVariant — open and close each panel to compare fluid spring motion (default, spring, zoom) vs legacy ease presets.

API

PropRequiredTypeDefaultDescription
themeOptionalSiteThemeatelierVisual theme.
triggerOptionalReactNodeButton, IconButton, or control that opens the popover.
childrenOptionalReactNodePanel content.
sideOptional"top" | "bottom"bottomOpen below or above the trigger.
alignOptional"start" | "center" | "end"startHow the panel aligns to the trigger along the placement edge (not page layout).
densityOptional"default" | "compact"defaultPanel padding scale.
open / onOpenChangeOptionalboolean + callbackControlled visibility.
labelOptionalstringAccessible dialog label.
PopoverHeader / PopoverFooterOptionalsubcomponentsStructured title, description, and action row.
animationVariantOptionalPressAnimationVariantdefaultPress animation — default, none, ripple, scale, sink, lift, pulse, or glow.
enterAnimationVariantOptionalEnterAnimationVariantdefaultPanel enter/exit — default and spring use fluid spring physics (Animate UI–style); zoom is a stronger pop; subtle keeps legacy ease motion; fade, slide-*, scale, or none.