Vvcare/ui
Documentation menu

Components

Advanced

Gantt

A Gantt chart with dependencies, drag to move and resize, and recurring tasks.

Installation

npx shadcn@latest add @vcare/gantt

Or install directly from the URL: https://ui.vcarehms.com/r/gantt.json

Usage

import { DEFAULT_ROW_ALIGN, DEFAULT_SCHEDULE_MODE, DEFAULT_VIEW_CONFIG, Gantt, GanttContext, GanttViewConfigContext } from "@/components/ui/gantt/gantt"

Exports

DEFAULT_ROW_ALIGN, DEFAULT_SCHEDULE_MODE, DEFAULT_VIEW_CONFIG, Gantt, GanttContext, GanttViewConfigContext, useGantt, useGanttInteractions, useGanttNavigation, useGanttNodeSchedules, useGanttOccurrences, useGanttScale, useGanttSelection, useGanttSelector, useGanttSettings, useGanttSettingsVersion, useGanttState, useGanttViewConfig

Dependencies

  • @base-ui/react@^1.9.0 (npm)
  • @date-fns/tz@^1.5.0 (npm)
  • date-fns@^4.4.0 (npm)
  • lucide-react@^1.80.0 (npm)
  • @vcare/button (registry)
  • @vcare/calendar (registry)
  • @vcare/checkbox (registry)
  • @vcare/context-menu (registry)
  • @vcare/dropdown-menu (registry)
  • @vcare/popover (registry)
  • @vcare/tooltip (registry)
  • @vcare/utils (registry)

Raw item: /r/gantt.json