Uptime
GraphUptime
One glyph per day. ok, degraded, down, or empty. Wraps every 30 days.
Command
pnpm dlx shadcn@latest add <origin>/r/graph-uptime.jsonNinety days
One glyph per day, wrapped every 30. Percent is the share of ok days.
94%
Jun 1Aug 29
█ up▒ slow· down
94 percent uptime over 90 days, Jun 1 to Aug 29Incident window
empty days sit as dashes so a gap stays visible.
80%
MonFri
█ up▒ slow· down
80 percent uptime over 10 days, Mon to FriProps
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Caption drawn on the top edge of the frame. |
| days | UptimeStatus[] | — | ok, degraded, down, or empty. |
| from | string | — | Label at the start of the range. |
| to | string | — | Label at the end of the range. |
| columns | number | 30 | Days per row. Shorter series stay on one line. |
| glyphs | "shade" | "ascii" | "hash" | "bar" | string[] | "shade" | Character set. shade is ·░▒▓█. ascii is .- =#@. Pass a preset or your own characters. |
| palette | "mono" | "duo" | "multi" | "mono" | mono is one accent plus muted. duo paints the second series with --graph-accent-2. multi cycles three accents. |
| corner | string | "+" | Character at each corner of the frame. |
| className | string | — | Passed to the outer frame. |