Accordion

Vertically-stacked list that allows users to expand and collapse sections to reveal hidden content

How they help

By allowing users to expand and collapse sections, accordions reduce scrolling and shorten page length, enabling users to focus on specific sections without being overwhelmed by too much information at once. This improves readability and accessibility, while also streamlining navigation, making it easier for users to find and access relevant information quickly.

Example image of multiple accordions

Example of accordions

 

 

Anatomy

  1. Open panel: holds interchangeable content
  2. Header: contains icon, label, badges and icon
  3. Icon: optional visual to help give clarity to user
  4. Title: clear and concise text giving the user insight into the content
  5. Badge❖: optional content to help give clarity to user
  6. Focus ring: visual focus state
  7. Open/Close icon: interactive element that allows user to open and close the accordion
Image of accordion for anatomy

Visual reference for anatomy

 

 

Variants

There are 2 variants of the component: with badges and with icon.

  • Badges improve content organization and user experience by giving a brief preview of the contents, making navigation easier, and helping with searchability. They help users find specific topics or themes easily and provide extra context to help them decide whether to open the accordion.
  • Icons can visually improve clarity to the user.
Image of the two accordion variants

Visual of accordion variants

 

 

 


Designer resources