AccordionItem
3 props
stringstringstringPreview the component in a quiet layout with room to inspect motion, spacing, and state changes.
Install the component directly into your codebase, then branch into v0 if you want to iterate on variations.
Install
Build with v0
Send the registry bundle into v0 when you want to explore new colorways, copy, or layout directions quickly.
Use the default item array pattern below, then expand into item structure, content expectations, and layout behavior in the API panel.
import { Accordion } from "@/components/ui/accordion"; const items = [ { id: "1", title: "What makes this accordion special?", content: "It uses spring-based physics animations powered by Motion for natural transitions.", }, { id: "2", title: "How does the animation work?", content: "The icon, panel height, and text stagger are driven by separate spring transitions.", },]; export function Faq() { return <Accordion items={items} />;}Each item below covers the documented props and the behavior that matters during implementation.
3 props
stringstringstring2 props
AccordionItem[]stringNotes