No. Each component is copied into your project as source, so you own it and edit it freely.
Yes. Every component ships as a plain client component with no framework-specific API.
That is the point. Tailwind classes are right there in the file, with no runtime theme to fight.
No. Each component is copied into your project as source, so you own it and edit it freely.
Yes. Every component ships as a plain client component with no framework-specific API.
That is the point. Tailwind classes are right there in the file, with no runtime theme to fight.
Installation
bash
npx shadcn@latest add https://ui.noicess.fun/r/accordion.jsonProps
| Prop | Type | Default | Description |
|---|---|---|---|
| items | AccordionItem[] | - | Questions and answers. Each item is { question, answer }. |
| defaultOpen | number[] | [] | Indices open on first render. |
| multiple | boolean | true | Allow more than one panel open at once. |
| className | string | - | Additional classes merged with the container. |