Accordion
UICollapsible content sections built on Radix UI with animated expand/collapse.
[EXAMPLES]
Single Collapsible
[PROPS]
| PROP | TYPE | DEFAULT | DESCRIPTION |
|---|---|---|---|
| type | "single" | "multiple" | — | Allow one or multiple open sections |
| collapsible | boolean | false | Allow closing all sections (single mode) |
| defaultValue | string | string[] | — | Initially open sections |
[ACCESSIBILITY]
KEYBOARD SHORTCUTS
| KEY | ACTION |
|---|---|
| Enter / Space | Toggle section |
| Arrow Down/Up | Navigate triggers |
ARIA
- >aria-expanded on triggers
- >aria-controls linking trigger to content