Basic chart
The smallest thing that renders: a task array and a height.
Live example
Jump to sourceLoading chart…
Source code
The exact files used by the live example above.
"use client";
import { Gantt } from "@art-tools/react-gantt";
import { mockTasks } from "@am/mock-data/sample";
export function BasicDemo() {
return <Gantt tasks={mockTasks} height={420} />;
}