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 { Check, Truck } from "lucide-react";
export default function PipelineStepsDemo() {
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: "Ordered",
description: "Sep 24",
color: "var(--success)",
icon: <Check />,
},
{
id: "2",
title: "Packed",
description: "Sep 25",
color: "var(--success)",
icon: <Check />,
},
{
id: "3",
title: "Shipped",
description: "Sep 26 · on the way",
color: "var(--primary)",
icon: <Truck />,
},
{
id: "4",
title: "Delivered",
description: "Expected Sep 28",
color: "var(--border-control)",
},
]}
/>
</div>
);
}


