Accordion
A vertically stacked set of interactive headings that each reveal a section of content.
When To Use
Use accordions to vertically stack sections of content that can be expanded or collapsed to reveal more information. They're useful for:
- Organizing content into logical sections
- Conserving vertical space by hiding content until needed
- Creating FAQ sections
- Simplifying complex forms or interfaces
Examples
Props
Prop | Type | Default |
---|---|---|
$$typeof | symbol | - |
displayName? | string | - |
propTypes? | any | - |
Prop | Type | Default |
---|---|---|
$$typeof | symbol | - |
displayName? | string | - |
propTypes? | any | - |
Prop | Type | Default |
---|---|---|
$$typeof | symbol | - |
displayName? | string | - |
propTypes? | any | - |
Prop | Type | Default |
---|---|---|
$$typeof | symbol | - |
displayName? | string | - |
propTypes? | any | - |