scrollxui

Timeline

Component

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>
  );
}

Dependencies

More by scrollxui

View all
  • Contact with Globe

    Contact with Globe

    311
  • Features With Panel

    Features With Panel

    265
  • Logo Cloud Marquee

    Logo Cloud Marquee

    148
  • Hero Section with Cards

    Hero Section with Cards

    128
  • FAQ Accordion

    FAQ Accordion

    122
  • Particles

    Particles

    98
  • Hero With Pixel Background

    Hero With Pixel Background

    77
  • Testimonials Marquee

    Testimonials Marquee

    60