FAQ

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.

FAQAccordion props

PropTypeDefaultDescription
itemsFAQItem[]Questions and answers, shown in order.
multiplebooleanfalseLet several answers stay open at once.
defaultOpennumberIndex opened first.
classNamestringExtra classes added to the outer element.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks