Quick Start
Get a Gantt chart running in your Svelte app in minutes.
Installation
Install for Svelte 5 or Svelte 4, with npm, yarn, or pnpm.
API Reference
Full reference for all components, props, and the IApi object.
PRO Features
Auto-scheduling, critical path, export, undo/redo, and more.
What is SVAR Svelte Gantt?
SVAR Svelte Gantt is a production-ready Gantt chart component for Svelte 5 (and Svelte 4). It provides everything you need to build interactive project timeline views — from simple task lists to complex project management UIs with dependencies, hierarchical tasks, and server-side data synchronization.Key features
Drag-and-drop
Move, resize, and reorder tasks directly on the timeline or in the grid.
Task dependencies
Create and visualize finish-to-start, start-to-start, and other link types.
Hierarchical tasks
Summary tasks with collapsible subtrees and automatic date calculations.
Configurable scales
Multi-row time scales with custom formats, zoom, and custom scale units.
Built-in editor
Customizable task edit form with validation, custom controls, and sidebar/modal modes.
Filtering & sorting
Column sorting, programmatic filtering, inline header filters, and natural language search.
Themes
Material, Willow (light), and WillowDark themes included. Fully customizable via CSS.
TypeScript
Full TypeScript definitions for all components, props, and the API.
Open source and PRO editions
SVAR Svelte Gantt is available under the MIT license. A PRO edition adds advanced features for enterprise project management:- Auto-scheduling with forward mode and Finish-to-Start dependencies
- Critical path calculation and slack visualization
- Work calendar with configurable working hours
- Export to PDF, PNG, Excel, and MS Project
- Undo/redo support
- Baselines, rollups, split tasks, vertical markers, and unscheduled tasks
View PRO features
Explore what’s available in the PRO edition — including free trial information.
Svelte 4 and Svelte 5
| Version | Svelte | Package |
|---|---|---|
| 2.x (current) | Svelte 5 | @svar-ui/svelte-gantt |
| 1.x | Svelte 4 | wx-svelte-gantt@1.2.0 |
This documentation covers the 2.x (Svelte 5) version. If you are on Svelte 4, install
wx-svelte-gantt@1.2.0 and refer to the migration guide.