Accordion
Organize questions, settings, or details in expandable sections.
Basic usage
Give every item a stable value and use defaultValue to open a section initially. Enable multiple to allow several open sections.
Workspace members can access the project.
API
Key props and defaults.
| Prop | Values and behavior | Default |
|---|---|---|
Root.variant | outline, soft | outline |
Root.defaultValue | string[] | [] |
Root.multiple | boolean | false |
Root.collapsible | boolean | true |
Item.value | string | required |
ItemHeading.as | h2, h3, h4, h5, h6 | h3 |