Skip to content

view on a desktop screen for a better experience.

kpi

GraphKpi

One large number with a sparkline under it.

reads

The number is the headline. The spark is the last twelve points.

[ READS ]

12,400

this week

+18%

12,400 this week. +18%

MDX

```
+------------------- [ READS ] --------------------+
|                                                  |
| 12,400                                           |
| this week  +18%                                  |
| ▃▄▄▄▅▅▆▅▇▆▇█                                     |
|                                                  |
+--------------------------------------------------+
```

install

command

latency

A latency number with a falling series.

[ P95 ]

142ms

read

−18ms

142ms read. −18ms

MDX

```
+-------------------- [ P95 ] ---------------------+
|                                                  |
| 142ms                                            |
| read  −18ms                                      |
| ▇▆█▆▅▆▄▅▃▄▃▃                                     |
|                                                  |
+--------------------------------------------------+
```
[ PROPS ]
PropTypeDefaultDescription
titlestringCaption drawn on the top edge of the frame.
valuestringThe large number, already formatted.
labelstringLine under the number.
hintstringOptional extra next to the label, like a delta.
datanumber[] | "2 3 4"Sparkline values. Scaled to the highest point.
glyphs"shade" | "ascii" | "hash" | "bar" | string[]Sparkline characters. Defaults to ▁▂▃▄▅▆▇█.
palette"mono" | "duo" | "multi""mono"mono is one accent plus muted. duo paints the second series with --graph-accent-2. multi cycles three accents.
cornerstring"+"Character at each corner of the frame.
classNamestringPassed to the outer frame.