Skip to content

francozeta/stepper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

131 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stepper

A lightweight shadcn/ui-style Stepper primitive for real multi-step flows.

Stepper is distributed through the shadcn registry. The CLI copies the component source into your app, so you own the code and can customize it directly.

Install

pnpm dlx shadcn@latest add @stepper/stepper

The CLI installs the source at:

components/ui/stepper.tsx

Install the styled demo block with:

pnpm dlx shadcn@latest add @stepper/stepper-demo

Usage

import {
  Stepper,
  StepperContent,
  StepperDescription,
  StepperIndicator,
  StepperItem,
  StepperLabel,
  StepperList,
  StepperTrigger,
} from "@/components/ui/stepper";

Philosophy

Stepper does not own your form state, routing, validation, persistence, or server actions.

Your app owns the workflow. Stepper reflects that workflow in the UI.

Development

The registry item is generated from components/ui/stepper.tsx.

pnpm registry:build

Use the check command before shipping changes:

pnpm check

That verifies the registry output, lint, typecheck, tests, and production build.

Contributing

Contributions are welcome. Read CONTRIBUTING.md before opening a pull request.

Releases

Release Please opens release PRs from Conventional Commits on main. Merging that PR updates package.json, CHANGELOG.md, the Git tag, and the GitHub Release for the registry component.

This repo does not publish to npm. The version tracks the public beta shadcn registry component only.

License

MIT

About

A modern, accessible and composable Stepper component for React and Tailwind CSS. Built for shadcn/ui-style workflows with registry-first distribution.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors