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 { Users } from "lucide-react";
export default function TimelineDemo() {
return (
<div className="flex w-full items-center justify-center p-10">
<Timeline
className="w-96"
items={[
{
id: "1",
title: "Invoice #4021 paid",
timestamp: "2 min ago",
description: "WunderUI GmbH · €24,800",
color: "var(--success)",
},
{
id: "2",
title: "New member joined",
timestamp: "1 h ago",
description: "Mira Lindqvist accepted the invite",
color: "var(--primary)",
icon: <Users />,
},
{
id: "3",
title: "Deploy failed",
timestamp: "Yesterday",
description: "checkout-v3 · rate limit",
color: "var(--destructive)",
},
]}
/>
</div>
);
}


