Oddmash UI
All components

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.

PropertyTypeDefault
summaryReactNodeRequired
<Accordion summary="Keyboard shortcuts">
  Press <kbd>Tab</kbd> to move to the next control and <kbd>Enter</kbd> to activate it.
</Accordion>

Interactive documentation