Dotted timeline

A thin line with dots. The last dot is bigger and in the accent colour.

UniversalUsed in production
Install
npx finepieces add dotted-timeline
Or with the shadcn CLI ›
npx shadcn@latest add https://finepieces.net/r/dotted-timeline.json

import { DottedTimeline } from "@/components/fine-pieces/dotted-timeline";

export default function Example() {
  return (
    <DottedTimeline
      steps={[
        { when: "Week 1", title: "Intro", text: "We walk through your shop together." },
        { when: "Week 2", title: "Content day", text: "A day of filming and photography." },
        { when: "Week 3", title: "Edit", text: "You see the first reels." },
        { when: "Week 4", title: "Live", text: "The first posts go online." },
      ]}
    />
  );
}