meter
GraphMeter
Progress bar drawn with = characters. Empty slots stay as dashes.
shipped
Dashes stay empty until the fill animates in.
67%
characters, not a progress bar
67 percent characters, not a progress barMDX
```
+------------------ [ SHIPPED ] -------------------+
| |
| [=========-----] 67% |
| characters, not a progress bar |
| |
+--------------------------------------------------+
```install
command
coverage
Fewer ticks. Tighter meter.
92%
tests passing
92 percent tests passingMDX
```
+------------------ [ COVERAGE ] ------------------+
| |
| [=========-] 92% |
| tests passing |
| |
+--------------------------------------------------+
```| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Caption drawn on the top edge of the frame. |
| value | number | "67%" | — | 0 to 1. |
| ticks | number | 14 | Number of character slots. |
| caption | string | — | Muted line under the meter. |
| 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. |