Accordion

A vertically stacked set of interactive headings that each reveal a section of content. Collapsible is a standalone single-item variant that manages its own state.


Standard Accordion

By default, only one item can be open at a time.


Multiple Open Items

Use the multiple prop to allow multiple items to be open simultaneously.


Sizes

Three sizes: normal (default), compact, and small. Controls header padding and font size.


Borderless

Use borderless to remove the outer border from items — useful when nesting inside other surfaces.


With Icons

Pass an icon to AccordionItem to display it before the title.


Joined

Use joined to merge items into a single bordered list divided by separators, instead of separate cards.


Collapsible

Collapsible is a self-contained single-item accordion — no Accordion wrapper needed. Use bind:open for two-way control.