Radio
One choice from a short list in a form: small round keys in a fieldset, the chosen one pressed with a printed dot.
Kit part · Checkboxes
An option in a form: a small square key that presses below the plate when chosen, with a tick printed on it.
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
| Part | Off | On | Focus |
|---|---|---|---|
| Check |
Graphite
| Part | Off | On | Focus |
|---|---|---|---|
| Check |
| Name | Kind | Values | What it does |
|---|---|---|---|
| .tui-check | class | on <input type="checkbox"> | An 18px square key. Checked: pressed below the plate with a printed tick. |
| .tui-choice | class | on <label> | Lines up the key and its words 8px apart; the whole label is the hit area. |
| checked · name · value | attribute | — | Native: forms post them unchanged. |
| change | event | — | Native. |
| Space | keyboard | — | Toggles. |
<label class="tui-choice">
<input type="checkbox" class="tui-check" name="loudness" checked> Loudness to −14 LUFS
</label>Needs kit.css only, no script. How to install the kit.
:checked.A native checkbox with appearance: none. At rest it carries a small skirt; checked, it moves down 1.5px and takes the kit’s pressed light. The tick is an ::after with two borders, turned 42°. No images.
Checked means pressed below the plate, with a printed tick.
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.
One choice from a short list in a form: small round keys in a fieldset, the chosen one pressed with a printed dot.
On or off, applied the moment it moves. A native checkbox with a ridged thumb in a slot that lights green when on.
Text entry in a recess, the label printed above it, and a hint that says how to fix an error.