Component libraryGantt chart
Gantt chart
ProInspect project dates and dependencies with an exact timeline and a readable mobile task list.
npx shadcn@latest add @tidal-pro/gantt-chartInstallation
Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.
Terminal
Import components/ui/tidal.css, components/ui/gantt-chart.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.
Usage
Complete example source · Dependency and asset manifest
Loading the complete example…
API & behavior
Consumer-owned tasks require unique nonblank IDs and labels, valid inclusive civil start/end dates, and acyclic references to known dependencies. Up to100 tasks are supported. Dates are normalized as UTC civil days without locale timezone shifts. Invalid data produces a visible error. A supplied reference date adds a marker only within the schedule range. Native task buttons propose controlled selection; caller handlers run first and may prevent. The timeline becomes a date-labelled list in narrow containers, while selected details retain exact dates and dependency names. Native root/action props, cleanup-aware refs, heading levels, formatDate and translated labels are supported. No scheduling, editing, date inference, network or persistence occurs.
Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.