Skip to Content

Accordion

Accordion example: a bordered, expandable FAQ list with item, trigger and animated content panel. Open items take a muted tint, and the caret flips between down and up as a panel expands.

View as Markdown
pnpm dlx shadcn add @01orbital/accordion

Dependencies

npm: @base-ui/react, @phosphor-icons/react, cn. The CLI installs them for you. cn merges Tailwind class names, in place of clsx and tailwind-merge.

Used in blocks

7 blocks are built with Accordion: