Course
Stepper. Where you are in a multi-step flow, with each state said in words. No JavaScript.
- Component
- Stepper
- Pattern
- Navigation + aria-current=step
- Outputs
- React + Tailwind, HTML/CSS/JS
- Status
- In stock, tested
Test bench
Runs the exported code, not a mock-up.
Course · React + TailwindFull width
| Keys | What happens |
|---|---|
| TaborShift + Tab | Move to any finished step that can be gone back to. |
| Enter | Go back to the focused step. |
Take it home
React + Tailwind CSS v4: install with one command, or copy the file. Your options are already in it.
npx shadcn@latest add "/r/stepper.json"Run it in your project root. It writes components/stepper.tsx with the options you set here. Needs Tailwind CSS v4 and a project set up for the shadcn CLI (npx shadcn@latest init).