Table chart
A sortable table with inline bars, coloured deltas and sparklines.
A project plan on a timeline, with progress, milestones and a today line.
A Gantt chart lays a plan on a timeline: one bar per task from its start to its end date. The filled part of each bar is the progress, a diamond marks a milestone, and a red line marks today, so it's clear at a glance what is late.
Tasks keep the order you pass, which is usually the order of the plan. Give each task a group, such as a team or workstream, and the bars are coloured by group with a legend. Dates can be ISO strings, Date objects or timestamps, and the axis picks days, weeks or months to fit the span.
This is a chart for reporting a plan in a dashboard, not a project tool: it doesn't drag, link dependencies or schedule. For hundreds of tasks, a table is better.
Gantt chart is a Pro chart.
Installation is part of Pro
Get Pro to install it with your access key and the shadcn CLI, and use it in unlimited projects.
Unlock with ProUsage examples are part of Pro
Every example on this page comes with its code in Pro. The props and data shape below are public.
Unlock with ProOne row per task with a name, a start date, an end date, and optional group and progress keys.
[{ task: "Close books", start: "2026-12-01", end: "2026-12-05", team: "Finance", done: 0.4 }, ...]Missing values are null. Invalid values make the chart say what’s wrong instead of drawing a misleading picture. How charts handle bad data
Every chart also accepts the shared frame props: title, subtitle, source, height, mode, toolbar. Common API
export interface GanttChartProps extends FrameProps {
/** One row per task, in display order. See the Data section for the shape. */
data: Row[];
/** Key of the task name. */
label: string;
/** Key of the start date (ISO string, Date or timestamp). */
start: string;
/** Key of the end date. A task whose end equals its start is drawn as a milestone. */
end: string;
/** Optional key of a group (team, workstream); up to 6 groups get distinct colours. */
group?: string;
/** Optional key of progress from 0 to 1, drawn as the filled part of the bar. */
progress?: string;
/** Draw a "Today" line at this date. Pass a date, or true for the current date. */
today?: string | number | Date | true;
}A sortable table with inline bars, coloured deltas and sparklines.
A year of daily values as weeks × weekdays.
Cumulative month-to-date actual against plan with a run-rate projection.