Web Component Gantt chart

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

Gantt

Early access

$399

Per developer, paid once, lifetime updates

A working starting point

npm install @birchui/element @birchui/gantt
Show index.html
index.html
<birchui-gantt style="display: block; height: 520px"></birchui-gantt>

<script type="module">
  import { createElementClass } from '@birchui/element';
  import { ganttDefinition } from '@birchui/gantt';

  customElements.define('birchui-gantt', createElementClass(ganttDefinition, { optionKeys: ['licenseKey', 'projectStart', 'tasks', 'dependencies', 'showCriticalPath'] }));

  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 el = document.querySelector('birchui-gantt');
  el.licenseKey = 'LQ1.your-key';
  el.projectStart = '2026-03-02';
  el.tasks = tasks;
  el.dependencies = dependencies;
  el.showCriticalPath = true;
  el.addEventListener('task-change', (event) => (({ task }) => console.info('Rescheduled', task.id))(event.detail));
</script>

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 Web Components

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 Web Components it mounts through the adapter’s generic widget factory, the same contract every product follows.

The element package registers the Gantt chart as a light-DOM custom element. There is no Shadow DOM, so your CSS and the --fe-* theme properties reach every cell.

Set rich options as properties, simple ones as attributes. Only changed keys reach update(). Importing the package never touches HTMLElement, so shared code is safe on the server; define the element in the browser.

Questions

Is the Web Components 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.

Can I use the Gantt chart element without a build step?

Yes, from any ES module setup, including server-rendered pages, Rails, Django, Laravel or plain HTML with an import map.

How are events delivered?

As bubbling, composed CustomEvents with kebab-case names and the payload in detail.