Step Progress

Step progress bar made of segments that fill in accent for completed and current steps, with small labels under each. Fits checkout and onboarding flows.

src/registry/ui/step-progress.tsx/r/step-progress.json

Installation#

bash
npx shadcn@latest add @minidev/step-progress

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/step-progress.json

Usage#

tsx
import { StepProgress } from "@/components/ui/step-progress"

export function Example() {
  return <StepProgress />
}

API reference#

StepProgress props
PropTypeDefault
stepsstring[]SAMPLE_STEPS
currentnumber2
classNamestring-
All kanban, timeline and workflow components

Learn more