Accordion
Overview
Purpose
An Accordion is a vertically stacked list of headers that can be clicked to reveal or hide content associated with them. It is an option to shorten long content pages, expose content to users in a progressive manner, and increase user control.
Anatomy
The Accordion component can be broken down into the following elements -
- 1
- 2
- 3
- 4
Container
The container provides a background wrapper for other content items.Title
This is used to indicate the subject of the Accordion.Icon
Indicates whether the Accordion is in the open or closed state.Content area
The main content area for the Accordion.
Variants & States
- Styles: Default, Bordered, Drop Shadow
- States: Default, Hover, Focus
- Open or closed
ClosedOpenDefaultBordered
Drop Shadow