Join our Discord Community
Accordion/Standard

React Accordion - Standard with Left Chevron

An accordion with left-aligned chevron indicators using flex-row-reverse for action-first navigation patterns

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


When your users scan left-to-right, that chevron indicator arrives way too late. This React accordion flips the script with flex-row-reverse from Tailwind, putting the chevron on the left from shadcn/ui and Radix UI. It mirrors file explorer UX where the expand action comes before the label—perfect for navigation menus and sidebar content.

Loading preview...

Pattern created by @haydenbleasel

Installation

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

Questions you might have