Accordion
A vertically stacked set of interactive headings that each reveal a section of content.
Installation
pnpm dlx shadcn add @smoothui/basic-accordionnpx shadcn@latest add @smoothui/basic-accordionyarn dlx shadcn add @smoothui/basic-accordionbunx shadcn add @smoothui/basic-accordionFeatures
- Collapsible content sections
- Keyboard navigation support
- Customizable styling
- Single or multiple item selection
- Smooth animations
- Built on Radix UI Accordion
Props
Prop
Type