For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Pro or Ultimate license.
Best for: Task lists with subtasks, dependency arrows picked in the edit dialog, an assignee filter and parent progress rollups
When to use
- A full page planner whose rows of tasks, people or stages own bars that are dragged, resized and edited
- Schedules that check a rule on every drop: a locked bar, opening hours, upstream order or capacity
- Project roadmaps, one day field dispatch, agent run boards and team capacity plans
When not to use
- People booked by percent of their week, refused once a day is full: use the Resource Capacity block
- One day of timed field visits on a half hour ruler: use the Technician Dispatch block
- Only the scheduling primitive, to wire into your own layout with no demo rules: use the Gantt component
- Deals re-dated on bars beside table, board and calendar views of the same records: use the CRM blocks
- A feed of past activity or milestones that people read rather than reschedule: use the Timeline blocks
Agent notes
- Replace
DEMO_TASKS,DEMO_PEOPLE,buildTaskMetaandbuildDemoBarsin data.ts with your lists, owners, task fields and bars copyTaskLinkcopies the page origin plus a demo tasks path; point it at your own task pagecanReorderResourceandhandleResourceReorderRejectpin the demoperf-auditrow by id; key them off your own locked tasks- Each block wraps its
Cardin anh-svhpage withp-4padding; remove that wrapper when the board sits inside an app shell - Every block opens on a fixed 2026 demo day passed to
defaultDateand builds its bars around it; swap both for today and your records - Refused drops and saved changes call
toastfromsonner, and no block mounts a Toaster; render one in your app or those messages never appear
Third-party API docs
- date-fns v4: docs
- Sonner v2: API reference, docs
- React DayPicker v9: API reference, docs, through shadcn Calendar
https://web.dev.reui.io/blocks/application/gantt/gantt-1.mdget_block("gantt-1")npx shadcn@latest add @reui/gantt-1Shadcn Components in the Project Timeline Block
Dependencies
- cn
- date-fns
- sonner
Shadcn Project Timeline Block
Project gantt with resizable tree columns, split timeline panes, and inline editing. Part of the ReUI Shadcn Application Gantt blocks collection.
Project timeline on ReUI Gantt: task tree in a resizable split pane beside a day-to-year timeline, drag and resize bars with live validation, progress rollups, and an edit dialog. ReUI Gantt with shadcn Dialog, Select. Roadmap, project planner.
It is composed from Alert Dialog, Avatar, Badge, Button, Button Group, Calendar, Card, Checkbox, and more, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Project Timeline Block
- Install it with the ReUI registry command in the toolbar above, then swap the placeholder content, data wiring, and business logic for your own.
- Compare it across all eight ReUI styles and both the Base UI and Radix bases in the customizer before committing to one direction.
- Combine it with the other Shadcn Application Gantt blocks to assemble a full screen instead of a single section.
All Shadcn Application Gantt Blocks
The rest of this category, each on its own page with a live preview, the components it is built from, and the install command.
- Technician Dispatch Day dispatch gantt with technician rows and timed jobs on an hour grid
- Agent Playbook Agent playbook gantt with enforced stage dependencies, retry lanes, and a critical path
- Resource Capacity Capacity-aware resource gantt with booking cards, drag guardrails, and full CRUD
Related Shadcn Application Block Categories
- App Shell (35) App shell layouts with sidebar, rail, or top bar navigation for dashboards, settings panels, and multi-page apps.
- Auth (20) Login, register, forgot password, and two-factor authentication page layouts.
- Card (43) Card components for content display, data summaries, and interactive elements.
- Dashboard (8) Dashboard components and layouts that combine stats, charts, and tables into a complete overview screen.
- Dialog (14) Dialog components for modal windows, alerts, confirmations, and content overlays.
- Empty State (14) Empty state screens and no-data placeholders with recovery actions, onboarding prompts, and contextual guidance.
All Shadcn Block Groups
Browse the full ReUI Shadcn blocks library by product surface. Each group bundles category-level blocks you can mix and match across your project.
- Shadcn Application Blocks (303) Browse 303 Shadcn Application blocks across 23 categories.
- Shadcn Data Grid Blocks (47) Browse 47 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
- Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 categories.
- Shadcn AI & Agents Blocks (22) Browse 22 Shadcn AI & Agents blocks across 3 categories.
- Shadcn eCommerce Blocks (87) Browse 87 Shadcn eCommerce blocks across 13 categories.
- Shadcn Marketing Blocks (67) Browse 67 Shadcn Marketing blocks across 8 categories.
Frequently Asked Questions
When should I use the Project Timeline block?
Use it for task lists with subtasks, dependency arrows picked in the edit dialog, an assignee filter and parent progress rollups.
The Gantt category fits:
- A full page planner whose rows of tasks, people or stages own bars that are dragged, resized and edited
- Schedules that check a rule on every drop: a locked bar, opening hours, upstream order or capacity
- Project roadmaps, one day field dispatch, agent run boards and team capacity plans
For people booked by percent of their week, refused once a day is full, use the Resource Capacity block. For one day of timed field visits on a half hour ruler, use the Technician Dispatch block. For only the scheduling primitive, to wire into your own layout with no demo rules, use the Gantt component. For deals re-dated on bars beside table, board and calendar views of the same records, use the CRM blocks. For a feed of past activity or milestones that people read rather than reschedule, use the Timeline blocks.
What is the Project Timeline block built with?
Can I restyle the Project Timeline block?
How should I use Shadcn gantt blocks in a real project?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.