Accordion
Reveal optional details inline.
Usage
Use one component per disclosure. Keep the summary short and meaningful.
Accessibility
The summary is keyboard operable natively. Keep interactive elements in the panel body.
| Property | Type | Default |
|---|---|---|
| summary | ReactNode | Required |
<Accordion summary="Keyboard shortcuts">
Press <kbd>Tab</kbd> to move to the next control and <kbd>Enter</kbd> to activate it.
</Accordion>