An accessible accordion. Answers swing down in 3D and the plus turns into a cross.
Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.
| Prop | Type | Default | Description |
|---|---|---|---|
| items | FAQItem[] | Questions and answers, shown in order. | |
| multiple | boolean | false | Let several answers stay open at once. |
| defaultOpen | number | Index opened first. | |
| className | string | Extra classes added to the outer element. |