Gantt
GraphGantt
Schedule chart. start and end are fractions from 0 to 1 along the track.
Command
pnpm dlx shadcn@latest add <origin>/r/graph-gantt.jsonLaunch
complete sets bar fill. progress marks the current date on the track.
- design
- build
- docs
- ship
q1q2q3q4
Week
A denser track. Same API.
- rfc
- patch
- review
monwedfri
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Caption drawn on the top edge of the frame. |
| items | GanttItem[] | — | label, start, end, optional complete (0–1 fill inside the bar). |
| ticks | string[] | — | Labels under the track, spaced at the ends. |
| columns | number | 24 | Track width in characters. |
| stage | string | — | Row label to focus. Other rows recede. |
| progress | number | — | 0–1 playhead. Draws ▾ on the track. |
| glyphs | "shade" | "ascii" | "hash" | "bar" | string[] | "shade" | Character set. shade is ·░▒▓█. ascii is .- =#@. Pass a preset or your own characters. |
| corner | string | "+" | Character at each corner of the frame. |
| className | string | — | Passed to the outer frame. |