Components
Accordion
A stacked list of headers that expand and collapse to reveal or hide their associated content sections within a page.
Accordion is a real, MIT-licensed React + Tailwind UI component from the open-source Motion Primitives library. Run the install command above with the shadcn CLI and it drops the component's actual source straight into your project.
It depends on motion, so make sure those are installed too.
The code you install is the component's own source — once it's in your repo, it's yours to restyle.
| Category | Components |
|---|---|
| Library | Motion Primitives |
| Dependencies | motion |
npx shadcn@latest add "https://motion-primitives.com/c/accordion.json"How to use it
- Run the install command above — the shadcn CLI drops the real component files into your project.
- Install the dependencies listed below it, if any.
- Import the component and restyle it with your own Tailwind tokens.
Compiled and written by VintuxAI from public sources.
← Back to UI Components