mirukullacode

Tweenly Timeline Scroll

Component

About

Minimal horizontal timeline of years and milestones. Pins and scrolls sideways with the page, or drags freely with inertia; the year at the center lights up.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Tweenly Timeline Scroll to your project and fits it to your theme.

Code

How Tweenly Timeline Scroll is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";
import {ThemeProvider as LibraryDemoThemeProvider} from "next-themes";
import { TimelineScroll } from "@/components/ui/tweenly-timeline-scroll"

const items = [
  { year: 2019, tag: "Day one", title: "Founded", description: "Two engineers, one spare bedroom, a lot of coffee." },
  { year: 2020, tag: "Traction", title: "First 1,000 users", description: "Grew entirely by word of mouth in eight months." },
  { year: 2021, tag: "Funding", title: "Seed round", description: "$3M led by operators who had built it before." },
  { year: 2022, tag: "Team", title: "25 people", description: "Opened our first office and hired across four time zones." },
  { year: 2023, tag: "Funding", title: "Series A", description: "$18M to scale the platform and the team." },
  { year: 2024, tag: "Product", title: "Platform 2.0", description: "Rebuilt from the ground up, ten times faster." },
  { year: 2025, tag: "Scale", title: "Global launch", description: "Live in 40 countries with local payments." },
  { year: 2026, tag: "Today", title: "1M customers", description: "And we're just getting started." },
]

export function Demo() {
  return (
    <TimelineScroll items={items} />
  )
}

function SourceSpecimen(){return <Demo/>}
export default function LibraryRegistryPreview(){return <LibraryDemoThemeProvider defaultTheme="dark" enableSystem={false}><div data-component-demo data-demo-theme="dark" data-theme="dark" className="dark" style={{background:"var(--background)",color:"var(--foreground)"}}><div className="relative w-full min-w-0 max-w-5xl min-h-[400px] flex items-center justify-center"><SourceSpecimen/></div></div></LibraryDemoThemeProvider>}

Dependencies

More by mirukullacode

View all
  • Chart Line

    Chart Line

    33
  • Tweenly AI Recorder

    Tweenly AI Recorder

    29
  • Animated Bar Chart

    Animated Bar Chart

    28
  • Tweenly Chart KPI

    Tweenly Chart KPI

    18
  • Tweenly Chart Radial

    Tweenly Chart Radial

    16
  • Tweenly Image Arc

    Tweenly Image Arc

    15
  • Tweenly Hero Background

    Tweenly Hero Background

    12
  • Tweenly Curved Carousel

    Tweenly Curved Carousel

    12