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.

Accordion

Panels unfold from a hairline, each open on its own.

General

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.json

Props

PropTypeDefaultDescription
itemsAccordionItem[]-Questions and answers. Each item is { question, answer }.
defaultOpennumber[][]Indices open on first render.
multiplebooleantrueAllow more than one panel open at once.
classNamestring-Additional classes merged with the container.