Accordion
Related disclosure sections with optional single or multiple expansion.
Preview
Install the matching packages, import the stylesheet and add FloodRoot.
Yes. The versioned agent guide describes components, tokens and composition rules.
Override semantic tokens within your project scope.
Use Accordion
Accordion is a named export of @flood-md/react. Connect the package once, then import what you use.
Design notes
- Headings contain native disclosure buttons. Set headingLevel for the surrounding document.
- Enter/Space toggle. Tab visits available triggers and open panel contents. ArrowUp/Down and Home/End move among enabled top-level triggers without opening panels.
API reference
View TypeScript source