Accordion
A vertically stacked set of interactive headings that each reveal an associated section of content.
Made by imskyleenInstallation
Usage
API Reference
Accordion
Prop | Type | Default |
---|---|---|
...props? | React.ComponentProps<"div"> | - |
AccordionItem
AccordionButton
Prop | Type | Default |
---|---|---|
showArrow? | boolean | true |
AccordionPanel
Prop | Type | Default |
---|---|---|
transition? | Transition | { type: 'spring', stiffness: 150, damping: 22 } |
keepRendered? | boolean | false |
...props? | HTMLMotionProps<"div"> | - |
Credits
- Headless UI Accordion
- Credit to shadcn/ui for style inspiration.