Vue Gantt chart

Critical path, four link types and MS Project XML for Vue, in early access.

Gantt

Early access

$399

Per developer, paid once, lifetime updates

A working starting point

npm install @birchui/vue @birchui/gantt
Show Gantt.vue
Gantt.vue
<script setup>
import { shallowRef } from 'vue';
import { createVueComponent } from '@birchui/vue';
import { ganttDefinition } from '@birchui/gantt';

const BirchGantt = createVueComponent(ganttDefinition);

const tasks = [
  { id: 'fitout', name: 'Level 4 office fit-out' },
  { id: 'survey', parentId: 'fitout', name: 'Site survey', duration: 2 },
  { id: 'strip', parentId: 'fitout', name: 'Strip out', duration: 3 },
  { id: 'handover', parentId: 'fitout', name: 'Handover', type: 'milestone' },
];
const dependencies = [
  { id: 'd1', from: 'survey', to: 'strip', type: 'FS' },
  { id: 'd2', from: 'strip', to: 'handover', type: 'FS' },
];
const onTaskChange = ({ task }) => console.info('Rescheduled', task.id);
const height = shallowRef('520px');
</script>

<template>
  <BirchGantt
    :style="{ height }"
    :license-key="'LQ1.your-key'"
    :project-start="'2026-03-02'"
    :tasks="tasks"
    :dependencies="dependencies"
    show-critical-path
    @task-change="onTaskChange"
  />
</template>

Measured: 5,000 tasks with 8,000 links schedule in 60–80 ms, and a single edit reschedules in 8–14 ms.

How it fits Vue

Birch UI Gantt schedules on working calendars with a forward and backward pass, finish-to-start, start-to-start, finish-to-finish and start-to-finish links, constraints and baselines. In Vue it mounts through the adapter’s generic widget factory, the same contract every product follows.

The Vue adapter wraps the Gantt chart engine in a render-function component. Options arrive as an options object, as attributes, or both, and kebab-case attributes become camelCase keys.

Hold large arrays in shallowRef or markRaw. A deep ref would wrap every record in a proxy the widget never needs. With vue/server-renderer the component renders only its container; the widget is created in onMounted, so Nuxt pages hydrate cleanly.

Questions

Is the Vue Gantt production ready?

It is a feature-complete v0.1 in early access: the API may still change before 1.0, and every update is free to buyers.

Can it import MS Project files?

Yes, MS Project XML in both directions, without DOMParser, plus JSON and a headless engine for workers.

Do I need the SFC compiler to use the Vue Gantt chart?

No. The components are render functions, so they work in single-file components, JSX or plain h() calls.

How are events named in Vue?

Every widget event is emitted in kebab-case, such as @selection-changed or @event-drop, with the event object as payload.