Skip to contentFacade Pro is $149 once during launch, then $199. Lifetime updates.
Facade
Browse the library

Components / Layout

Smooth accordion

Free

Accessible FAQ accordion with smooth height animation, a plus to minus icon morph and single or multiple mode.

Installation

$npx shadcn@latest add https://facadeui.com/r/smooth-accordion.json

Usage

import { SmoothAccordion } from "@/components/facade/smooth-accordion";

export default function Page() {
  return <SmoothAccordion />;
}

Props

SmoothAccordionProps is exported, so you can extend or wrap it. Every prop has a default; <SmoothAccordion /> renders the example above.

Props of SmoothAccordion
PropTypeDescription
itemsAccordionItem[]Accordion entries. Defaults to a short FAQ example.
type"single" | "multiple""single" keeps one item open at a time. Defaults to "single".
defaultValuestring[]Items open on first render.
valuestring[]Controlled open items.
onValueChange(value: string[]) => void
headingLevel2 | 3 | 4Heading level used for each header. Defaults to 3.
classNamestring
itemClassNamestring

Ask your agent

With the Facade MCP server connected, this prompt is enough:

Add the Facade smooth accordion to this page and adapt the copy to our business.