terra vidhal

Project Timeline

Component 2

About

A project timeline with a week and month zoom switcher, animated progress bars, milestone diamonds, owner chips and a today marker. Bars are keyboard navigable with arrow keys, Home and End, and a detail panel reveals the date range, duration and completion of the active workstream while the overall progress is weighted by duration.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Project Timeline to your project and fits it to your theme.

Code

How Project Timeline is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

/**
 * PrequelUI Animate — MIT — https://prequeluianimate.terravidhal.me
 */

import {
  ProjectTimeline,
  type TimelineItem,
} from "@/components/ui/project-timeline";

const ITEMS: TimelineItem[] = [
  {
    id: "research",
    title: "Research and discovery",
    owner: "Mara Ellison",
    start: 0,
    duration: 2,
    progress: 100,
    accent: "emerald",
    status: "Completed",
  },
  {
    id: "system",
    title: "Design system update",
    owner: "Lena Fischer",
    start: 1,
    duration: 3,
    progress: 100,
    accent: "violet",
    status: "Completed",
  },
  {
    id: "web",
    title: "Web app rebuild",
    owner: "Theo Nakamura",
    start: 3,
    duration: 4,
    progress: 72,
    accent: "sky",
    status: "In progress",
  },
  {
    id: "mobile",
    title: "Mobile shell",
    owner: "Priya Raman",
    start: 4,
    duration: 3,
    progress: 58,
    accent: "amber",
    status: "In progress",
  },
  {
    id: "billing",
    title: "Billing migration",
    owner: "Jonas Weber",
    start: 6,
    duration: 3,
    progress: 46,
    accent: "rose",
    status: "At risk",
  },
  {
    id: "a11y",
    title: "Accessibility audit",
    owner: "Amara Okafor",
    start: 8,
    duration: 2,
    progress: 30,
    accent: "emerald",
    status: "In progress",
  },
  {
    id: "launch",
    title: "Launch readiness",
    owner: "Diego Marín",
    start: 10,
    duration: 2,
    progress: 0,
    accent: "violet",
    milestone: true,
    status: "Planned",
  },
];

export default function ProjectTimelineDemo() {
  return (
    <main className="flex min-h-screen w-full items-center justify-center bg-background px-4 py-12 sm:px-6">
      <ProjectTimeline
        items={ITEMS}
        title="Quarter timeline"
        description="Seven workstreams from discovery to launch. Zoom the scale and inspect any bar."
        weeks={12}
        startDate="2026-09-07"
        today="2026-11-16"
      />
    </main>
  );
}

Dependencies

More by terra vidhal

View all
  • Gravity Stars Background

    Gravity Stars Background

    16
  • Audio Waveform

    Audio Waveform

    13
  • Topographic Lines

    Topographic Lines

    12
  • Notification Center

    Notification Center

    11
  • Booking Calendar

    Booking Calendar

    10
  • Spotlight Card

    Spotlight Card

    10
  • Command Palette

    Command Palette

    9
  • Kpi Counter

    Kpi Counter

    9

Explore more

Part of PrequelUI Animate — browse the full library on 21st.dev.