Popover

Settings that open beside their trigger.

Installation

Examples

Default

A popover holds settings that stay open while they change, such as bar controls that no longer fit. For commands, use a Menu. These open over a card, so they take raised, which lifts them a level more.

demo.tsx

Sections

Content alone is padded as one Section. Once it holds several, they stack with a line between each, and the first reads as a header.

sections.tsx

Alignment

align lines it up with the trigger's start, center, or end, the default.

align.tsx

Anatomy

Each part's data-slot, which a theme styles, is beside it.