Accordion
Accordion display a list of high-level options that can expand/collapse to reveal more information.
Usage
Tips
asChild prop can use to override Header style and Content styleProps
| Props | Type | Description | Default |
|---|---|---|---|
open | array | Set which index item is open. eg. [,true] stands for the second item is open | [] |
multiple | boolean | Allow multiple items to be expanded at the same time. | undefined |