A React library. Your scheduling interface.
A composable Gantt chart for React.
Build scheduling interfaces with task hierarchies, dependencies, working-time calendars, and a chart you can customize.
Live chart
Loading chart…
Install
pnpm add @art-tools/react-ganttThen import the stylesheet once, at your app’s entry point:
import "@art-tools/react-gantt/style.css";Explore the examples
Each example pairs a live chart with the exact source that renders it.
20 of 20 examples
Core
- Basic chartThe smallest thing that renders: a task array and a height.
- Read-only chartOne prop removes every editing affordance: no bar drag or resize, no progress or connector handles, no actions column.
- Custom columnsDefine the task-list columns yourself, including a render-prop action column.
- Hierarchy & bar typesParent/child nesting with summary, milestone, and task bars.
- DependenciesAll four link types, lag, and the cascading reschedule that follows a move.
- Critical pathHighlight the chain of tasks and links currently pinning the chart's end date.
- BaselinesCompare up to five consumer-supplied plans with each task's current dates.
- Working timeWeekends, holidays and business hours that the scheduler, drag and cascade all honour.
- Composable APIAssemble GanttProvider, TaskList and GanttGrid yourself for full layout control.
Customization
- Timeline elementsDate markers and custom overlays with pinned labels and horizontal virtualization.
- Slots & slotPropsSwap or restyle any internal element, driven by its ownerState.
- Bar tooltipsThe built-in tooltip is one line of opt-in, then themable through its CSS variables.
- Tooltip from Base UIThe same slot filled with a third-party tooltip that brings its own root, trigger and positioning.
- Theming with CSS variablesRetheme the whole chart through --am-gantt-* custom properties, including dark mode.
- Theming with CSS ModulesScope the same tokens to one instance with a colocated CSS Module.
- Custom zoom ladderDefine your own zoom rungs, each with its own scales and column width.