Components Accordion

Accordion

Overview API Examples Style Tokens

Basic usage

Negative mode

The Accordion component supports a negative mode, suitable for areas with dark background.

Dividers

You can hide the dividers among the Accordion Panels, for a more seamless experience.

Custom Panel header

You can customize the Accordion Panel header to meet your specific requirements.

Allow multiple expanded Panels

By default, only one Accordion Panel can be opened at a time. However, you can easily disable this constraint and have as many simultaneously expanded Panels as you want.

Toggle position

Basing on your page layout, you may want to display the toggle of each Accordion Panel before its title.