Join our Discord Community
Accordion/Tabs

React Accordion - Tabs with Left Plus Trigger

A tab-style accordion with left-aligned plus/minus indicators and visual separation between items for card-like expandable sections

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Standard accordions stack tight with connected borders. This React accordion breaks them apart with gap-2 and rounded-lg corners from Tailwind, creating tab-like cards with left-aligned plus/minus toggles from Lucide React. Built with shadcn/ui and Radix UI, each section feels independent—perfect for dashboards, settings panels, or anywhere discrete expandable cards make more sense than connected stacks.

Loading preview...

Pattern created by @haydenbleasel

Installation

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

Questions you might have