Components
Expandable
A single collapsible section.
Use Expandable for one optional block of content. For a list of related
items, prefer Accordion.
Basic usage#
Open by default#
This section starts expanded.
Each expandable is an independent accordion and does not coordinate open state with siblings.
Properties#
| Name | Type | Description |
|---|---|---|
| titlerequired | ReactNode | Summary label. |
| defaultOpen | boolean | Whether the section starts expanded. Default: false |
| children | ReactNode | Content revealed when open. |
Last updated on