amankaushik481

Gantt Row

Component

About

A single labeled Gantt timeline row that draws a bar from a start to an end value on a shared 0..max scale, for stacking into a simple roadmap or sprint schedule.

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

Code

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

Usage.tsx

import { GanttRow } from "@/components/ui/gantt-row";

export default function GanttRowDemo() {
  return (
    <div className="flex w-full max-w-xl flex-col gap-2 bg-bg p-6">
      <GanttRow label="Invoice PDF API" start={0} end={5} max={14} />
      <GanttRow label="Reminder emails" start={3} end={10} max={14} />
      <GanttRow label="QA and release" start={10} end={14} max={14} />
    </div>
  );
}

More by amankaushik481

View all
  • Chip Filter

    Chip Filter

    7
  • Icon Button

    Icon Button

    5
  • Background Boxes

    Background Boxes

    4
  • Emoji Picker

    Emoji Picker

    4
  • Morphing Text

    Morphing Text

    2
  • Typing Text

    Typing Text

    1
  • Treemap Chart

    Treemap Chart

    1
  • Particles

    Particles

    1