Components · Accordion
Accordion
Disclosure items with independently styleable triggers, indicators, and content.
Anatomy
- 1
.accordion-rootAccordion collection boundary. - 2
.accordion-itemOne disclosure section. - 3
.accordion-item-triggerButton that expands or collapses an item. - 4
.accordion-item-indicatorIcon communicating the item state. - 5
.accordion-item-contentCollapsible panel owned by an item.
Variants
- Contained et— Etesie extension
- Ghost et— Etesie extension
Color, type, spacing, shape, elevation, motion and icons flow into this recipe.
Ark UI owns state, focus and ARIA. Etesie owns the visual system.
When to use
Use an accordion to progressively disclose related sections when people usually need only one or two at a time.