About
A draggable, animated horizontal timeline slider with resizable left/right handles for labeling a project or event on a rotated ribbon.
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, TimelineText } from "@/components/ui/timeline";
export default function TimelineDemo() {
return (
<div className="flex min-h-[400px] w-full items-center justify-center">
<Timeline
rotation={-2.76}
containerClassName="border-blue-500"
handleClassName="border-blue-500"
handleIndicatorClassName="bg-blue-500"
>
<TimelineText>Video Editor</TimelineText>
</Timeline>
</div>
);
}







