Accordion
A set of collapsible panels with headings.
Made by imskyleenInstallation
Usage
API Reference
Accordion
AccordionItem
AccordionTrigger
Prop | Type | Default |
---|---|---|
showArrow? | boolean | true |
AccordionPanel
Prop | Type | Default |
---|---|---|
transition? | Transition | { type: 'spring', stiffness: 150, damping: 22 } |
keepRendered? | boolean | false |
...props? | HTMLMotionProps<"div"> | - |
The render
and keepMounted
props are not supported in the AccordionPanel
component as it is used for animation.
Credits
- Base UI Accordion
- Credit to shadcn/ui for style inspiration.