Layout Collapse

Components

Collapse

Expandable sections that show one answer at a time.

Default

Variants

Multiple open, one expanded by default, in a card

It does. Notes hit disk first and sync when a connection returns.

Small, with a disabled item

defaultValue renders a panel expanded on load; multiple keeps several open at once; the compact accordion is Geist's size="small". Items divide with a bottom border by default (Borders) and the first group is wrapped in a bordered container (Card).

Markdown for agents: /design/collapse.md · spec: /design.md