Gantt Row

One row of a Gantt timeline: a task label beside a track with a bar placed by start and end values on a shared scale. Stack rows to build a React roadmap.

src/registry/ui/gantt-row.tsx/r/gantt-row.json

Installation#

bash
npx shadcn@latest add @minidev/gantt-row

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/gantt-row.json

Usage#

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

export function Example() {
  return <GanttRow />
}

API reference#

GanttRow props
PropTypeDefault
label*string-
start*number-
end*number-
maxnumber100
classNamestring-

* required

All kanban, timeline and workflow components

Learn more