Join our Discord Community
Accordion/Tabs

React Accordion - Tabs with Left Chevron

A tab-style accordion with left-aligned chevron indicators using flex-row-reverse for action-first card navigation

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Most tab-style accordions put indicators on the right. This React accordion flips that with flex-row-reverse from Tailwind, placing chevrons on the left within shadcn/ui and Radix UI card-style sections. The gap-2 spacing and rounded-lg corners create distinct cards where the expand action comes first—perfect for navigation panels or sidebar content where interaction precedes reading.

Loading preview...

Pattern created by @haydenbleasel

Installation

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

Questions you might have