Maple · Navigation

Accordion

Progressive disclosure for FAQs and settings. Rows are separated by hairlines; the chevron flips when a row is open.

View in Storybook →

FAQ

Yes. Every colour is a semantic token with a Light and a Dark value — set data-theme on any element to switch.

<Accordion items={[{ question: "…", answer: "…" }]} defaultOpen={[0]} />

Props

PropTypeDefaultDescription
items{ question, answer }[]—Rows.
multiplebooleanfalseAllow several open at once.
defaultOpennumber[][]Initially open rows.