wunder-ui

Timeline

Component

About

A vertical or horizontal sequence of dated, dot-connected events for activity feeds, changelogs, order tracking and project milestones.

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

Code

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

Usage.tsx

import { Timeline } from "@/components/ui/timeline";
import { Rocket } from "lucide-react";

export default function HorizontalTimelineDemo() {
  return (
    <div className="flex w-full items-center justify-center p-10">
      <Timeline
        orientation="horizontal"
        className="w-full max-w-2xl"
        items={[
          {
            id: "1",
            title: "Kick-off",
            timestamp: "Mar 3",
            description: "Goals and scope agreed with the team.",
          },
          {
            id: "2",
            title: "First prototype",
            timestamp: "Apr 14",
            description: "The checkout flow clickable end to end.",
          },
          {
            id: "3",
            title: "Beta",
            timestamp: "Jun 2",
            description: "Twenty customers test the new flow.",
          },
          {
            id: "4",
            title: "Launch",
            timestamp: "Jul 21",
            description: "Everyone gets the new checkout.",
            icon: <Rocket />,
          },
        ]}
      />
    </div>
  );
}

Dependencies

More by wunder-ui

View all
  • Popover

    Popover

    3
  • Avatar Stack

    Avatar Stack

  • Avatar

    Avatar

  • Empty State

    Empty State