Skip to content
All components

Accordion

Beta

Disclosure · Layout

A disclosure widget whose headers can be read while closed, with a per-section access model for content a reader may not simply be shown.

12 states23 props27.5 KB installedsince 0.3.0

npx @zoblocks/cli add accordion

First install? Run zoblocks init once to say where your @/ alias points. The source is copied into your repository, along with anything it depends on.

Design language
Renders the preview in that framework’s own components and tokens. Clinical colours never change.

Preview

Every state, switchable.

Live · real component

States3

Contact precautions

Ideation 3 — active thoughts, no plan, no intent, no preparatory behaviour.

Why this state exists

Severity is never colour alone: the rail is paired with a summary that says the same thing in words, so a closed section still reports what is inside it. Click a header, or focus one and press ↑ / ↓ — the roving tab stop and the heading level are the same in every configuration.