Accordion
A vertically stacked set of interactive headings that each reveal an associated section of content.
We take the Shadcn UI component and animate it with Motion.
Installation
Props
Animate UI props
AccordionTrigger
Prop | Type | Default |
---|---|---|
transition? | Transition | { type: 'spring', stiffness: 150, damping: 17 } |
AccordionContent
Prop | Type | Default |
---|---|---|
transition? | Transition | { type: 'spring', stiffness: 150, damping: 17 } |