Components / UI components / Overlays
OverlaysExperimental alpha

Popover

A named interactive panel anchored to its trigger.

Popover preview

Open the panel to review its content.

Interactions use local sample data.

Usage and props

Own draft and open state. Use a popover for a short related task; move longer workflows into an appropriate dialog or page.

Supported inputs

This is the public signature used by this example. Open Code to see how the values and callbacks fit together.

Root: open? · onOpenChange? · Content: title · description? · headingLevel? · Trigger/Close asChild?
How state and callbacks work

These are the main props for the example. The package's TypeScript declarations include the full API.

Customize and use with a keyboard