All components

NAVIGATION / COMPONENTS

Accordion

Reveal supporting detail on demand.

Live component3 documented props

About accordion

Use for supporting information when an overview matters. Keep essential task instructions visible.

01

Anatomy

Shared parts, named consistently.

  1. 1
    Disclosure control

    A named, keyboard-operable interaction with visible focus and state feedback.

  2. 2
    Summary

    Content or structure that supports the component’s purpose and reading order.

  3. 3
    Indicator

    Reinforces meaning or state. Provide text whenever the meaning is essential.

  4. 4
    Content

    Content or structure that supports the component’s purpose and reading order.

Try the default

A working example with the shared V1 visual language.

How do design tokens work?
Tokens connect repeatable design decisions to meaningful names, so a theme can change without rebuilding every component.

When to use

Use for supporting information when an overview matters. Keep essential task instructions visible.

Native summary responds to Enter and Space; its expanded state is announced.

Related components

Source & adaptation

V1 semantic colors, DM Sans typography, compact controls, and responsive layouts. The API table describes this implementation; source design notes may use earlier API terminology.

components/ui.tsx