nayan_radadiya6

Timeline Rail

Component 110

About

Here is Timeline Rail component

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

Code

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

Usage.tsx

'use client';
import TimelineRail from '@/components/ui/timeline-rail';

export default function TrBasic() {
  return (
    <div className='max-w-5xl'>
      <TimelineRail
        items={[
          { label: 'headset', caption: '1910', active: true },
          { label: 'jungle gum', caption: '1920', active: true },
          { label: 'chocolate chip cookie', caption: '1930', active: true },
          { label: 'Jeep', caption: '1940' },
          { label: 'leaf blower', caption: '1950' },
          { label: 'magnetic stripe card', caption: '1960' },
        ]}
        size='md'
        labelAngle={50}
        emphasizeActiveTrail
      />
    </div>
  );
}

More by nayan_radadiya6

View all
  • First Place Leaderboard

    First Place Leaderboard

    35