npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@jaeungkim/gantt-chart

v1.5.1

Published

An open-source React Gantt chart for interactive project planning. Drag tasks, connect dependencies, and organize nested timelines with working calendars, keyboard editing, virtualization, and light and dark themes.

Readme

Banner

@jaeungkim/gantt-chart

npm version CI license

Bring interactive project planning to your React app.

Drag tasks, connect dependencies, and organize projects into nested timelines. Working calendars, keyboard editing, and light and dark themes come built in.

Open source, MIT licensed, React 18 and 19, TypeScript types

Quick start | Playground | Documentation | 한국어 문서

Features

  • Edit the plan directly. Move and resize tasks, adjust progress, and draw dependency arrows.
  • Move a whole project phase. Organize tasks into a collapsible hierarchy and move a summary row together with its children.
  • Connect the work. Draw finish-to-start, start-to-start, finish-to-finish and start-to-finish dependencies.
  • Plan around working days. Define workweeks and holidays, with optional snapping to the next working day.
  • Render large plans. Rows and time cells are virtualized, with five scales from day to year.
  • Use the keyboard. Navigate, move, resize and reorder tasks with edit announcements. See the accessibility guide for supported actions and remaining gaps.
  • Match your app. Light and dark themes, CSS custom properties, localized dates and custom detail panels.
  • Save through your app. Every committed edit arrives as one onTasksChange call with the complete next array. Storage, validation and undo stay in your app.

Install

pnpm add @jaeungkim/gantt-chart
# npm install @jaeungkim/gantt-chart
# yarn add @jaeungkim/gantt-chart

react and react-dom (^18 or ^19) are peer dependencies, and React is the only module the built bundle imports. The ESM build is under 40 kB gzipped and the stylesheet is 4.1 kB. dayjs is a declared dependency because Dayjs is in the public types.

Connect it to your app

import { useState } from 'react';
import { ReactGanttChart, type Task } from '@jaeungkim/gantt-chart';
import '@jaeungkim/gantt-chart/style.css';

const initialTasks: Task[] = [
  {
    id: 'design',
    name: 'Design',
    startDate: '2026-03-02',
    endDate: '2026-03-06',
    parentId: null,
    sequence: '1',
    progress: 100,
  },
  {
    id: 'build',
    name: 'Build',
    startDate: '2026-03-09',
    endDate: '2026-03-20',
    parentId: null,
    sequence: '2',
    progress: 40,
    dependencies: [{ targetId: 'design', type: 'FS' }],
  },
  {
    id: 'ship',
    name: 'Ship',
    startDate: '2026-03-23',
    endDate: '2026-03-23',
    parentId: null,
    sequence: '3',
    dependencies: [{ targetId: 'build', type: 'FS' }],
  },
];

export default function ProjectChart() {
  const [tasks, setTasks] = useState(initialTasks);

  return (
    <ReactGanttChart
      tasks={tasks}
      onTasksChange={setTasks}
      height={420}
      showTaskList
      defaultScale="month"
    />
  );
}

Your app holds the tasks array. Every committed gesture ends in one onTasksChange call with the complete next array, and the chart persists nothing, including the scale.

Documentation

Quick start goes from install to a chart your app can edit. GanttProps lists every prop, callback and default. The chart renders no toolbar, so your app renders the scale control and drives it through the ref in Imperative API.

Release notes are on GitHub Releases.

Contributing

Setup, the checks CI runs, and the branch and PR conventions are in CONTRIBUTING.md. Questions and ideas go in Discussions. Issues are for bugs and concrete feature requests.

License

MIT