bullet
GraphBullet
Actual versus target on a shared track. The marker is the target.
targets
- Design42 / 40
- Motion18 / 24
- Docs9 / 12
MDX
```
+------------------- [ BUDGET ] -------------------+
| |
| Design [===================|] 42 / 40 |
| Motion [===============----|] 18 / 24 |
| Docs [===============----|] 9 / 12 |
| |
+--------------------------------------------------+
```install
command
capacity
- CPU72 / 80
- RAM34 / 64
- SSD91 / 90
MDX
```
+-------------------- [ LOAD ] --------------------+
| |
| CPU [==============--|---] 72 / 80 |
| RAM [=======------|------] 34 / 64 |
| SSD [==================|-] 91 / 90 |
| |
+--------------------------------------------------+
```| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Caption drawn on the top edge of the frame. |
| items | BulletItem[] | — | label, value, optional target, max, and display. Optional when children are Markdown. |
| children | Markdown | — | - CPU: 72 / 80 |
| ticks | number | 20 | Track width in characters, not counting the brackets. |
| 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. |