Skip to the page
Tactile UI

Status

A lamp with words: the state line in tables, panel heads and lists. The words carry the meaning; the lamp is the glance.

Element
<span>
Needs
kit.css
Rules
lamp.rules.md · 4
Finishes
Aluminium · Graphite · Chalk · Carbon · Oak · Walnut · Porcelain · Black · Daylight · Night · Paper · Phosphor · E-paper · AMOLED
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

Variants

InverterOnline
In a panel head
Charging at 1.9 kW
Working
Office · off
Off

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

PartOnWaitingFailingLinkedStanding byOffNeeds attention
StatusOnlineQueuedDownSyncedStandbyOffLow disk

Graphite

PartOnWaitingFailingLinkedStanding byOffNeeds attention
StatusOnlineQueuedDownSyncedStandbyOffLow disk

API

NameKindValuesWhat it does
.tui-statusclasson <span>A lamp and printed words, 8px apart, 12px, in --tui-ink-2.
.tui-lampelementfirst childAny lamp: colour (green · amber · red · blue · white), on, blink.

Markup

<span class="tui-status">
  <span class="tui-lamp" data-on></span>All systems normal
</span>

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

Accessibility

  • The words are the state for screen readers; keep them specific: “Waiting for 2 kW spare”, not “Pending”.
  • In a table, give it its own column with a header, so it is read with the row.

How it’s built

An inline flex row, centred on its text line: a kit lamp first, then the words, with --tui-2 between them. The words are in the small size and the second ink. It has no plate, border or script: the lamp is the whole of its light, so the words must say what the lamp shows.

Rules

lamp.rules.mdIn the brain

A lamp always sits next to words; it is never the only signal.

4 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.

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.

Reel 342:10
Mixed0:30

Table

The TUI table is rows of data with printed column labels, figures right-aligned in columns, and status in lamps with words.

HTTPMost teams

Tag

A small printed plate: a type, a count, a badge. Solid for the one tag that must stand out.