Accordion

Accordions are components that allow sections of content to be vertically displayed on a page. The header for each section controls if that content is expanded or collapsed.

When to use Accordions

Use accordions for progressive disclosure, allowing users to reveal only the sections they need. Accordions work best for:

  • Secondary or supplementary content (for example, FAQs, settings, product specifications)
  • Content where users need specific information rather than browsing everything
  • Situations where multiple sections can be open simultaneously for comparison
  • Content sections that vary significantly in length
  • Small viewport layouts where vertical space is preferred over horizontal space

The accordion component displays large amounts of content in a small space through controlled disclosure. While this adds an extra click for the user to find content, it keeps related content together, and the header will provide key navigation.

Example of an accordion on web

Accordion web example

The layout differs slightly between Web and React Native

Example of an accordion on React Native

Accordion React Native example