Join our Discord Community
Accordion/Tabs

React Accordion - Tabs with Plus Trigger

A tab-style accordion with right-aligned plus/minus indicators and card-like separation for bold, expandable sections

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Card-style layouts need card-style affordance. This React accordion from shadcn/ui and Radix UI uses gap-2 spacing and rounded-lg corners for visual separation, paired with right-aligned plus/minus indicators from Lucide React for maximum interactivity. Each section screams "click me!"—perfect for control panels, feature toggles, or dashboards where expand/collapse actions take center stage.

Loading preview...

Pattern created by @haydenbleasel

Installation

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

Questions you might have