DoryDocs

Accordion

Accordions hide content until the user expands it — ideal for FAQs, optional details, or long reference sections.

Basic Usage#

<AccordionGroup> <Accordion>

Multiple Items#

Only one accordion can be open at a time.

<AccordionGroup> <Accordion>

With Icons#

Add an icon prop using a Clidey Design icon name:

<AccordionGroup> <Accordion>

Numbered Rows#

Add numbered to an AccordionGroup for reference lists readers scan by position.

<AccordionGroup numbered>

Props Reference#

AccordionGroup Props

PropTypeDescription
childrenReactNodeOne or more Accordion components.
numberedbooleanLabel rows 01, 02, 03 in order.

Accordion Props

PropTypeDescription
titlestringHeading text shown when collapsed.
iconstringOptional Clidey Design icon name (e.g. "lock", "gauge").
childrenReactNodeContent revealed when expanded. Supports full MDX.

Was this page helpful?