basic_badge
Renders a single status pill from [widget.options]. status picks the tone (ok / warn / error), label the visible text. Right for tagging a per-directory splash with its environment (staging, prod), or pinning a stale-data warning.
| Kind | Safety | Shapes |
|---|---|---|
| realtime | Safe | badge |
Options
Section titled “Options”| Option | Type | Required | Default | Description |
|---|---|---|---|---|
status | "ok" | "warn" | "error" | no | "ok" | Tone of the pill. Drives the renderer's colour pick (green / yellow / red). |
label | string | yes | — | Short text shown inside the pill. |
Compatible renderers
Section titled “Compatible renderers”| Shape | Renderers |
|---|---|
badge | animated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, status_badge |
Preview
Section titled “Preview”badge via status_badge
Section titled “badge via status_badge”● staging
[[widget]]id = "basic_badge"fetcher = "basic_badge"render = "status_badge"