Gantt chart preview
Inspect project dates and dependencies with an exact timeline and a readable mobile task list.
pro · Data · composite
When to use
- Use it when a page needs inspect project dates and dependencies with an exact timeline and a readable mobile task list.
- Choose it when the data structure, labels, and state are supplied by the application and must remain consumer controlled.
Alternatives
- Choose analytics-card instead when explore revenue, compare periods and inspect chart values is the actual interface need, rather than gantt chart.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/gantt-chartImport components/ui/tidal.css, components/ui/gantt-chart.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/gantt-chart.css";
import{TidalGanttChart}from"./components/ui/gantt-chart";
export default()=><div className="tidal-scope"><TidalGanttChart onSelectedChange={() => {}} selectedId={"example"} tasks={[{id:"example",label:"Demo",start:"value",end:"value"}]} title={"Demo"}/></div>;API and props
TidalGanttChart.onSelectedChange (required)(id: string, event: MouseEvent<HTMLButtonElement>) => voidCallback invoked when the selected change interaction is proposed.
TidalGanttChart.selectedId (required)string | nullRequired selected id value accepted by this exported component.
TidalGanttChart.tasks (required)ReadonlyArray<TidalGanttTask>Required tasks value accepted by this exported component.
TidalGanttChart.title (required)ReactNodeRequired title value accepted by this exported component.
TidalGanttChart.descriptionReactNodeOptional description value accepted by this exported component.
TidalGanttChart.disabledboolean | undefinedOptional disabled value accepted by this exported component.
TidalGanttChart.formatDate((date: string) => string) | undefinedOptional format date value accepted by this exported component.
TidalGanttChart.headingLevel"h2" | "h3" | "h4" | "h5" | undefinedOptional heading level value accepted by this exported component.
TidalGanttChart.labelsPartial<{ empty: string; invalid: string; dependencies: string; none: string; period: string; range: string; selected: string; start: string; finish: string; }> | undefinedOptional labels value accepted by this exported component.
TidalGanttChart.referenceDatestring | undefinedOptional reference date value accepted by this exported component.
TidalGanttChart.referenceLabelstring | undefinedOptional reference label value accepted by this exported component.
TidalGanttChart.taskButtonProps((task: TidalGanttTask) => Omit<ComponentPropsWithoutRef<"button">, "children" | "dangerouslySetInnerHTML" | "type" | "disabled" | "aria-pressed" | "role" | "aria-label" | "aria-labelledby">) | undefinedOptional task button props value accepted by this exported component.
TidalGanttChart.taskButtonRef((task: TidalGanttTask) => Ref<HTMLButtonElement> | undefined) | undefinedOptional task button ref value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- The host application owns data, validation, persistence, navigation, and service side effects described by this API.