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.Content| Prop | Type | Default |
|---|---|---|
transition? | Transition | { duration: 0.35, ease: 'easeInOut' } |
keepRendered? | boolean | false |
...props? | HTMLMotionProps<"div"> | - |
The asChild and forceMount props are not supported in the
AccordionContent component as it is used for animation.