Skip to main content
v0.1 dev

Component 27 · Layout

Accordion

Progressively disclose secondary detail.

implementedPhase 2stable

Overview

Progressively disclose secondary detail. It establishes reading order and decision grouping before visual decoration.

When to use

Use HE/Accordion when you need to progressively disclose secondary detail. Keep its role distinct from transport freshness, animal-health severity and model confidence.

Example

Atlantic · interactive specimen
Adaptive sampling
Sampling slows when the signal remains stable and increases when change is detected.
<details class="he-accordion" open><summary>Adaptive sampling</summary><div class="he-accordion__content">Sampling slows when the signal remains stable and increases when change is detected.</div></details>

Anatomy

1Context
2Heading
3Content
4Optional action

Anatomy stays identical in Pasture and Atlantic. A responsive layout may wrap or stack parts, but reading order and focus order remain equivalent.

Variants and states

Variants

singlemultiplecontained

States

collapsedexpandedfocusdisabled

Accessibility

The trigger is a button with expanded and controls relationships.

  • Maintain a visible keyboard focus indicator and a logical focus sequence.
  • Never rely on colour alone for operational, freshness or severity state.
  • Keep touch targets at least 44 × 44 px unless the target is an inline text link.

Cross-platform contract

SurfaceCanonical nameStatus
FigmaHE/Accordionstable
Web.he-accordionimplemented
FlutterHeAccordionimplemented
Token rootcomponent.accordiongenerated