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 🙏

© 2025 – Pkg Stats / Ryan Hefner

wx-react-gantt

v1.3.1

Published

SVAR Gantt for React - customizable, interactive Gantt chart component

Readme

SVAR Gantt for React

WebsiteGetting StartedDemos

npm npm downloads License

SVAR React Gantt is a customizable component that adds interactive, modern-looking Gantt charts to web pages. Easily integrate it into your React app to effectively visualize, organize, and manage tasks and projects.

:sparkles: Key Features

  • Highly customizable
  • Task types: tasks, summary tasks, milestones
  • Task dependencies
  • Interactive drag-and-drop interface
  • Intuitive and customizable task edit form
  • Toolbar and context menu
  • Hierarchical view of sub tasks
  • Reordering tasks in grid with drag-and-drop
  • Tasks sorting
  • Configurable timeline (hours, days, weeks)
  • Zooming with scroll
  • Showing task progress on the taskbar
  • Tooltips for taskbars
  • Fast performance even with large number of tasks

:hammer_and_wrench: How to Use

To use the widget, simply import the package and include the component in your React file:

import { Gantt } from "wx-react-gantt";
import React, { useRef, useEffect } from "react";

const MyGanttComponent = () => {
  const tasks = [
    {
      id: 20,
      text: "New Task",
      start: new Date(2024, 5, 11),
      end: new Date(2024, 6, 12),
      duration: 1,
      progress: 2,
      type: "task",
      lazy: false,
    },
    {
      id: 47,
      text: "[1] Master project",
      start: new Date(2024, 5, 12),
      end: new Date(2024, 7, 12),
      duration: 8,
      progress: 0,
      parent: 0,
      type: "summary",
    },
    {
      id: 22,
      text: "Task",
      start: new Date(2024, 7, 11),
      end: new Date(2024, 8, 12),
      duration: 8,
      progress: 0,
      parent: 47,
      type: "task",
    },
    {
      id: 21,
      text: "New Task 2",
      start: new Date(2024, 7, 10),
      end: new Date(2024, 8, 12),
      duration: 3,
      progress: 0,
      type: "task",
      lazy: false,
    },
  ];

  const links = [{ id: 1, source: 20, target: 21, type: "e2e" }];

  const scales = [
    { unit: "month", step: 1, format: "MMMM yyy" },
    { unit: "day", step: 1, format: "d" },
  ];

  return <Gantt tasks={tasks} links={links} scales={scales} />;
};

export default MyGanttComponent;

For further instructions, follow our detailed how-to-start guide.

Need Help?

Join our community forum to get help and submit feature requests.

License

SVAR Gantt for React can be used for free under GPLv3. If you would like to use it in a commerical, non-open source project, please contact us for licensing options.