Popover

Anchored floating content for rich contextual UI.

Quick Preview

Composition

Use this public composition when building Popover:

Popover
├── PopoverTrigger
└── PopoverContent
    ├── PopoverHeader
    ├── PopoverBody
    └── PopoverFooter

Usage

<Popover><PopoverTrigger render={<Button />}>Open</PopoverTrigger><PopoverContent><PopoverTitle>Details</PopoverTitle></PopoverContent></Popover>

Examples

Default Popover

Use this as the starting point for Popover. Keep product data, routing, fetching, and authorization logic in the consuming app.

Props

Prop/APITypeDefaultDescription
size`"sm""md""lg"`
showArrowbooleantrueRenders arrow pointer.
position propsBase UI positioner props-side, align, and offsets.
classNamestring-Local layout or spacing overrides.
native/root propsReact component props-Passed through to the underlying root or primitive.

Accessibility

  • Preserve the documented Popover composition so labels, triggers, content, and controls remain connected.
  • Provide visible labels or accessible names for interactive controls.
  • Preserve the component-provided focus, keyboard, disabled, and invalid-state behavior.
  • Do not communicate state with color alone; include text, icons, or helper copy.

On this page