Accordion
A vertically stacked set of interactive headings that each reveal an associated section of content.
Made by imskyleenInstallation
Usage
API Reference
Accordion
Radix UI API Reference - Accordion.RootAccordionItem
Radix UI API Reference - Accordion.ItemAccordionHeader
Radix UI API Reference - Accordion.HeaderAccordionTrigger
Radix UI API Reference - Accordion.TriggerAccordionContent
Radix UI API Reference - Accordion.ContentProp | Type | Default |
---|---|---|
transition? | Transition | { type: 'spring', stiffness: 150, damping: 22 } |
keepRendered? | boolean | false |
...props? | HTMLMotionProps<"div"> | - |
The asChild
and forceMount
props are not supported in the
AccordionContent
component as it is used for animation.