Accordion

A component that allows users to collapse and expand a section of content.

Component checklist

Status

The status of the component

Ready for use!

Figma component

A link to the Figma library where the component lives.

Repository

A link to the repo where the component lives.

Usage Guidelines


Accordions can be placed with main page content or placed inside of a container, such as a side panel or tile. They can be useful for giving control to users to show/hide content, as well as organizing information.

3a886735-b83f-401a-b30e-ada9202fdf1e 1

 

Use brief and unique titles in the header

Do
Accordion titles are short, concise and aligned.

Keep titles concise, clear, and within a single line.

Don't
Accordion titles are aligned but long and truncated.

Long titles are difficult to understand at a glance and may be truncated.

 

Use consistent chevron positions

Do
Accordion block with chevrons on the right.

The chevron should be positioned to the right side of an accordion block.

Don't
Accordion block with chevrons on the right and next to text.

The chevron should not be positioned next to the label.