Accordion
Shows and hides items in a list, so a long page stays readable. Use when most members only need one item at a time.
Health
Source
Design
Storybook
Playground
No Example
Accessibility
not-compliant
Platform
Web
Accessibility issues
The accordion is not focusable and misses role and aria attributes.
- Overview
- Props
- Figma
Looking for Collapsible Section?
Usage
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Playground
Loading...
Accordion props
| Name | Type | Default Value | Description | Usage count |
|---|---|---|---|---|
| controlled | booleanundefined | false | ||
| isEnabled | booleanundefined | true | ||
| isOpen | booleanundefined | false | ||
| onHoverColored | booleanundefined | |||
| onInteraction | (() => void)undefined | |||
| renderChildrenIfClosed | booleanundefined | true | ||
| reverseArrowDirection | booleanundefined | false | ||
| stickyTitle | booleanundefined | false | ||
| title* | ReactNode | |||
| withBottomSpacer | booleanundefined | true | ||
| withTopSpacer | booleanundefined | true |