Collections / headless primitive
Accordion
Single or multiple expandable sections.
Accordion / interactiveFluid · fits available space
A dependency-free primitive with complete keyboard behavior.
Semantic parts
Spread each part getter onto the matching element, then style its stable state attributes.
rootitemheadertriggerpanelKeyboard guidance
Tab visits each trigger. This preview permits collapsing the open panel; there is no arrow-key navigation between accordion triggers.
Keys from the Clank controller contract, with preview and configuration notes. Disabled or read-only controls may prevent changes.
- Tab
- Move through triggers in normal document order
- Enter
- Toggle the focused trigger
- Space
- Toggle the focused trigger