nayan_radadiya6

Timeline Rail

Component 28

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 TrCompact() {
  return (
    <div className='max-w-3xl'>
      <TimelineRail
        size='sm'
        gapClassName='gap-10'
        lineThickness={4}
        lineColorClass='bg-zinc-200 dark:bg-zinc-800'
        items={[
          { label: 'Alpha', caption: 'Q1', active: true },
          { label: 'Beta', caption: 'Q2', active: true },
          { label: 'GA', caption: 'Q3' },
          { label: 'Scale', caption: 'Q4' },
        ]}
      />
    </div>
  );
}

More by nayan_radadiya6

View all
  • First Place Leaderboard

    First Place Leaderboard

    35