Accordion
View in FigmaCollapsible content sections with animated expand/collapse and single or multiple open mode.
Layout & StructureImport
import { Accordion, AccordionItem } from "@/components/ui"API
| Prop | Type | Default | Description |
|---|---|---|---|
| type | "single" | "multiple" | "single" | Allow one or multiple items open. |
| defaultValue | string[] | [] | Initially expanded item values. |
| children | ReactNode | — | AccordionItem components. |