143
Your onboarding steps on a vertical rail that fills in as each one is done, with a progress bar and percentage keeping count up top.
akaprogress tracker·onboarding
Run this in any project set up for the shadcn CLI. It copies the Milestone Rail source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/milestone-rail.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { MilestoneRail } from "@/components/milestone-rail";
export default function Page() {
return <MilestoneRail />;
}A free React component in the Getting Started collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Milestone Rail source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| stepsrequired | MilestoneStep[] | — |
| title | string | "Getting started" |
| initialDone | number | 0 |
| autoPlay | boolean | false |
| stepMs | number | 1400 |
| onChange | (done: number) => void | — |
| className | string | — |