Accordion

Core

Progressively reveal supporting information in place.

pnpm dlx shadcn@latest add https://wui.alann.works/r/accordion.json

Run npx shadcn@latest add with the registry JSON URL.

API Reference

PropTypeDefault
items*AccordionItem[]required
defaultOpennumber—
size"md" | "lg"—
Categories
disclosure
Dependencies
@radix-ui/react-accordionlucide-reactmotion