Join our Discord Community
Accordion/Tabs

React Accordion Tabs

A tab-style accordion with separated card-like sections and default chevron indicators for clean expandable content organization

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Tight, connected accordion stacks aren't always the answer. This React tab-style accordion from shadcn/ui and Radix UI spaces sections apart with gap-2 and rounds each with rounded-lg borders. Chevron indicators keep it subtle while the card-like separation makes each section feel distinct. Perfect for feature lists, settings categories, or dashboard widgets that deserve breathing room.

Loading preview...

Pattern created by @haydenbleasel

Installation

npx shadcn@latest add https://www.shadcn.io/registry/accordion-tabs-2.json
npx shadcn@latest add https://www.shadcn.io/registry/accordion-tabs-2.json
pnpm dlx shadcn@latest add https://www.shadcn.io/registry/accordion-tabs-2.json
bunx shadcn@latest add https://www.shadcn.io/registry/accordion-tabs-2.json

Questions you might have