// Readout

Readout

A scramble-decode telemetry value — text resolves from glyph noise when it changes, with optional band tint.

<talos-readout> is a text value that decodes when it changes. The resolved characters are the value exactly; a change fires a brief left-to-right scramble that resolves into the new text — so motion marks the arrival of fresh telemetry, the way a flipboard or segment display settles. A stable value is stable text. The scramble is the one idea: it is the event, not decoration.

Default

PREVIEW
<talos-readout value="atlas-01" label="Node"></talos-readout>

value is the displayed text exactly. label renders an uppercase HUD caption above it. Non-numeric values have no band — they render neutral foreground.

Unit

PREVIEW
<talos-readout value="1042" unit="req/s" label="Ingest"></talos-readout>

unit is appended after the resolved value at a smaller, muted size. It is not part of the scramble — only the value decodes.

Bands — warn & crit

PREVIEW
<talos-readout value="42" unit="%" warn="70" crit="90"></talos-readout>
<talos-readout value="78" unit="%" warn="70" crit="90"></talos-readout>
<talos-readout value="96" unit="%" warn="70" crit="90"></talos-readout>

When value parses as a number, warn and crit tint the text by band (inclusive-from): nominal stays foreground, warn paints --talos-warning, crit paints --talos-danger. Same threshold convention as gauge and meter.

Invert — low is bad

PREVIEW
<talos-readout value="12" unit="%" warn="40" crit="20" invert></talos-readout>
<talos-readout value="88" unit="%" warn="40" crit="20" invert></talos-readout>

invert flips the band so it trips as the value falls — for metrics where low readings are the alarm (battery, headroom, uptime margin).

Duration

PREVIEW
<talos-readout value="0300" duration="200"></talos-readout>
<talos-readout value="0800" duration="800"></talos-readout>

duration is the scramble length in ms (default 420). Under prefers-reduced-motion: reduce the scramble is skipped entirely and the new value snaps in — the meaning is the text, and a static frame is always correct.

Attributes

AttributeDefaultEffect
value""the text/number to display; resolved characters are the value exactly
labeluppercase HUD caption above the readout
unitappended after the value at a smaller muted size
warnnumeric value at/after which the band tints --talos-warning
critnumeric value at/after which the band tints --talos-danger
invertflagband trips as the value falls (low = bad)
duration420scramble length in ms

All attributes are reactive — changing value fires the decode; writing the same value is a no-op (stable value, stable text). Bands apply only when value parses as a number.