The accordion is used to show and hide content, and more than one item can stay open at the same time.
| Prop | Type | Description |
|---|---|---|
| classname | string | Addional CSS classes. |
| multiple | boolean | Allows multiple sections to be open at the same time. |
| openDefault | number | Opens the section at the specified index by default. |
| openLast | boolean | Opens the last section by default. |
| data | Array | Defines the accordion content. |
| Prop | Type | Description |
|---|---|---|
| title | string | Title displayed in the section header. |
| subtitle | string | Subtitle displayed below the title. |
| disabled | boolean | Disables interaction with the section. |
| children | ReactNode | Section content. |