Skip to the page
TACTILE UI

Kit part · Numbers

Readout

A printed label over a value: key figures, with the unit small and the change in words.

Element
<div>
Needs
kit.css
Rules
readout.rules.md · 3
Finishes
Aluminium · Graphite · Porcelain · Black
Volumes
Tactile · Quiet
On this page
  1. Variants
  2. Every state, at once
  3. API
  4. Markup
  5. Accessibility
  6. How it’s built
  7. Rules
  8. Related parts
01

Variants

Solar now4.82kW31.6 kWh so far
Going up
Latency182ms8 ms slower
Going down
Battery78%Charging at 1.9 kW
With a status
02

Every state, at once

Both finishes, side by side. Hover, pressed and focus are forced with .is-hover, .is-down and .is-focus; checked and disabled are real.

Aluminium

PartUpDownNeutralWith a status
Readout
Made31.6kWh4% on Monday
Sold£2.61£0.40 less
Used14.2kWhHeat pump, oven
Grid1.57kWExporting

Graphite

PartUpDownNeutralWith a status
Readout
Made31.6kWh4% on Monday
Sold£2.61£0.40 less
Used14.2kWhHeat pump, oven
Grid1.57kWExporting
03

API

NameKindValuesWhat it does
.tui-readoutclass—A column: label, value, change, 6px apart.
.tui-readout__valueclass26pxSemibold, tabular. The unit goes in <small> at half size, in --tui-ink-2.
.tui-deltaclass—A line of change, in words.
data-dirattribute"up" · "down"Prints a small green ▲ or red ▼ before the words.
font-sizeCSS propertyon the valueResize freely; the unit follows at half size.
04

Markup

<div class="tui-readout">
  <span class="tui-label">Revenue</span>
  <span class="tui-readout__value">£48,210<small>/mo</small></span>
  <span class="tui-delta" data-dir="up">12.4% on August</span>
</div>

Needs kit.css only, no script. How to install the kit.

05

Accessibility

  • The arrow is a pseudo-element and is not read out, so the words must say the direction: “8 ms slower”.
  • Units are real text in <small>: “182 ms” is read as one figure.
06

How it’s built

Three lines of type in a grid. The only colour is the tiny triangle before a delta, a ::before in lamp green or red: a signal, sitting next to words. No images, no script.

07

Rules

readout.rules.mdIn the brain

A change always carries words: “8 ms slower”, not only an arrow.

3 rules in this file, with the foundations they rest on and the anti-patterns that break them. Full rules ship in the brain with the Pass.

08
Weight
2.4 kg
Power
18 W

Spec list

Key and value facts, printed like the plate on the back of a device.

02:52min

LCD

A value that changes, on grey-green liquid crystal, with a ghost of the unlit segments behind it: clocks, battery, counters.

Lamp

The only colour in the kit: a lamp that is on. Green is on, amber is waiting, red is recording or failing, blue is linked, white is standing by. Always next to words.

Docs
Finish
Volume