ComponentsEditorial

Milestones

Roadmap or company history as an ordered list on Grid, in grid or rows layout. Rules can be off, a top border per item, or one fading horizon line with dots; the current milestone's dot is filled.

Open the preview in a new tab

The source comes with full access.

One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.

Installation

pnpm dlx shadcn add @01orbital/milestones
npx shadcn add @01orbital/milestones
yarn shadcn add @01orbital/milestones
bunx --bun shadcn add @01orbital/milestones

Part of the 01orbital library. With a license, put ORBITAL_TOKEN in .env.local and the same command installs it (licensed install, pricing).

It lands at components/editorial/milestones.tsx, as source you own and edit.

The example also uses section. Install it too:

pnpm dlx shadcn add @01orbital/section
npx shadcn add @01orbital/section
yarn shadcn add @01orbital/section
bunx --bun shadcn add @01orbital/section

Usage

import {
  Milestone,
  MilestoneContent,
  MilestoneDate,
  MilestoneDescription,
  MilestoneLabel,
  MilestoneMarker,
  MilestoneMeta,
  Milestones,
  MilestoneTitle,
} from "@/components/editorial/milestones"
import {
  Section,
  SectionContent,
} from "@/components/editorial/section"

const COPY = {
  label: "Now",
  items: [
    {
      date: "2026-06",
      dateLabel: "June",
      title: "One registry",
      body: "Every block from one install.",
    },
    {
      date: "2026-09",
      dateLabel: "September",
      title: "Parts",
      body: "Blocks compose from named parts.",
      current: true,
    },
    {
      date: "2026-11",
      dateLabel: "November",
      title: "Registers",
      body: "Palettes layer over one theme.",
    },
  ],
} as const

export default function MilestonesDemo() {
  return (
    <Section>
      <SectionContent className="items-center">
        <div className="w-full max-w-4xl">
          <Milestones cols={3} rule="horizon">
            {COPY.items.map((m) => (
              <Milestone key={m.title} current={"current" in m}>
                <MilestoneMarker />
                <MilestoneContent>
                  <MilestoneMeta>
                    <MilestoneDate dateTime={m.date}>
                      {m.dateLabel}
                    </MilestoneDate>
                    {"current" in m ? (
                      <MilestoneLabel>{COPY.label}</MilestoneLabel>
                    ) : null}
                  </MilestoneMeta>
                  <MilestoneTitle>{m.title}</MilestoneTitle>
                  <MilestoneDescription className="text-sm/7">
                    {m.body}
                  </MilestoneDescription>
                </MilestoneContent>
              </Milestone>
            ))}
          </Milestones>
        </div>
      </SectionContent>
    </Section>
  )
}

Anatomy

Milestones is built from 9 parts. In the example they nest like this:

Milestones
└─ Milestone
   ├─ MilestoneMarker
   └─ MilestoneContent
      ├─ MilestoneMeta
      │  ├─ MilestoneDate
      │  └─ MilestoneLabel
      ├─ MilestoneTitle
      └─ MilestoneDescription
  • Milestones: A roadmap or timeline, rendered as an ordered list. Put a Milestone inside for each step.
  • Milestone: One step inside Milestones, rendered as an <li>. Its inherited text is muted unless it is the current step. Titles and labels use foreground color; descriptions stay muted by default.
  • MilestoneMarker: The dot on the horizon line. Place it first in Milestone so it sits on that line. It shows as an open ring, filled in on the current milestone, and is hidden from screen readers.
  • MilestoneContent: The body of a milestone: put a MilestoneTitle and a MilestoneDescription inside. In a rows list it spans the three columns beside MilestoneMeta once the list is 24rem wide.
  • MilestoneMeta: A short line of details for a milestone, such as its MilestoneDate and a MilestoneLabel, side by side. In a rows list they stack once the list is 24rem wide.
  • MilestoneDate: The milestone's date, as a <time>. Give it a dateTime value that machines can read.
  • MilestoneLabel: A short label in MilestoneMeta, such as a status or a version number, in medium-weight, full-strength text.
  • MilestoneTitle: The milestone's heading, an <h3> in the body font. Pass render to use another heading level.
  • MilestoneDescription: A paragraph that describes the milestone, in muted text.

API reference

Milestones

A roadmap or timeline, rendered as an ordered list. Put a Milestone inside for each step.

grid (the default) sets the milestones in up to cols columns, four unless you set it. rows stacks them one per row. className lands on the <ol>, but its columns follow the width of a wrapper around it, so to narrow the list, size its parent.

Prop

Type

It also accepts the HTML attributes of the element it renders.

Milestone

One step inside Milestones, rendered as an <li>. Its inherited text is muted unless it is the current step. Titles and labels use foreground color; descriptions stay muted by default.

In a grid list it usually holds a MilestoneMarker and a MilestoneContent, with MilestoneMeta inside the content. In a rows list, put MilestoneMeta and MilestoneContent side by side: once the list is 24rem wide, the meta takes a narrow first column.

Prop

Type

It also accepts the props of the Base UI part it wraps, and the HTML attributes of the element it renders.

MilestoneMarker

The dot on the horizon line. Place it first in Milestone so it sits on that line. It shows as an open ring, filled in on the current milestone, and is hidden from screen readers.

It accepts the HTML attributes of the element it renders.

MilestoneContent

The body of a milestone: put a MilestoneTitle and a MilestoneDescription inside. In a rows list it spans the three columns beside MilestoneMeta once the list is 24rem wide.

It accepts the HTML attributes of the element it renders.

MilestoneMeta

A short line of details for a milestone, such as its MilestoneDate and a MilestoneLabel, side by side. In a rows list they stack once the list is 24rem wide.

It accepts the HTML attributes of the element it renders.

MilestoneDate

The milestone's date, as a <time>. Give it a dateTime value that machines can read.

It accepts the HTML attributes of the element it renders.

MilestoneLabel

A short label in MilestoneMeta, such as a status or a version number, in medium-weight, full-strength text.

It accepts the HTML attributes of the element it renders.

MilestoneTitle

The milestone's heading, an <h3> in the body font. Pass render to use another heading level.

It accepts the props of the Base UI part it wraps, and the HTML attributes of the element it renders.

MilestoneDescription

A paragraph that describes the milestone, in muted text.

It accepts the HTML attributes of the element it renders.

Dependencies

npm: @base-ui/react, class-variance-authority, cn. The CLI installs them for you.

Registry pieces it installs with it:

  • grid

On this page