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 CompactMilestonesDemo() {
  return (
    <div className="flex w-full items-center justify-center p-10">
      <Timeline
        orientation="horizontal"
        compact
        className="w-full max-w-xl"
        items={[
          { id: "1", title: "Kick-off", timestamp: "Mar 3" },
          { id: "2", title: "First prototype", timestamp: "Apr 14" },
          { id: "3", title: "Beta", timestamp: "Jun 2" },
          { id: "4", title: "Launch", timestamp: "Jul 21", icon: <Rocket /> },
        ]}
      />
    </div>
  );
}

Dependencies

More by wunder-ui

View all
  • Popover

    Popover

    3
  • Avatar Stack

    Avatar Stack

  • Avatar

    Avatar

  • Empty State

    Empty State