Signboard
fieldset.signboard
The board every group of controls sits on. The legend becomes a cherry ribbon straddling the top edge, with forked tails tucked behind it.
Fieldset with legend
Markup
<fieldset class="signboard">
<legend>Curb service</legend>
...
</fieldset>
Checkbox
input.check-tile
A cream tile whose ink sits off register until checked; then the ink snaps into place and a cherry sparkle stamps in.
Off
Checked
Disabled
Checked and disabled
Markup
<label class="choice">
<input class="check-tile" type="checkbox" name="topping" value="cheese" checked>
Extra cheese
</label>
Radio
input.radio-badge
A mustard badge with a cherry ring. The picked one grows an atom and its ink comes into register.
Off
Picked
Disabled
Markup
<label class="choice">
<input class="radio-badge" type="radio" name="size" value="regular" checked>
Regular
</label>
Switch
input.pill-switch[role="switch"]
A checkbox announced as a switch, drawn as a Streamline pill with speed lines. The cream knob slides across and the pill lights from slate to cherry.
Off
On
Disabled
Markup
<label class="choice">
<input class="pill-switch" type="checkbox" role="switch" name="neon" checked>
Neon tubes
</label>
Text field
div.ribbon-field
A cream ribbon with cherry pinstripes, forked tails and a mustard tab for the label. Focus snaps the ink into register. Leave the required one empty after typing in it and it misprints: the fill blushes and the ink slips further.
Empty, with placeholder
Filled
Required, so the carhop can call it out.
Required, with hint
Markup
<div class="ribbon-field">
<label for="driver">Name</label>
<input id="driver" name="driver" type="text" required aria-describedby="driver-hint">
<p class="field-hint" id="driver-hint">Required, so the carhop can call it out.</p>
</div>
Textarea
div.plaque-field > textarea
A cream plaque hung on two rods from a teal rail that carries the label. Where the browser supports field-sizing: content it grows as you type.
Empty, with placeholder
Markup
<div class="plaque-field">
<label for="requests">Special requests</label>
<textarea id="requests" name="requests"></textarea>
</div>
Select
div.plaque-field > select
A mustard plaque on the same rail and rods. In Chrome the open list is drawn too: the options drop as a stack of pill tiers and the picked one wears a sparkle. Other browsers show the same plaque with their own list.
Closed; open it to see the tiers
Markup
<div class="plaque-field">
<label for="pie">Pie of the day</label>
<select id="pie" name="pie">
<option value="cherry">Cherry</option>
<option value="apple" selected>Dutch apple</option>
</select>
</div>
Slider
input.sputnik-range
A Sputnik thumb on a radio dial, with a mustard notch at every step. Set --steps to (max - min) / step so the notches line up with the stops.
Mild to Atomic
Four steps
Hush to Rock
Ten steps
Low to High
Disabled
Markup
<div class="range-field">
<label for="spice">Spice level</label>
<input class="sputnik-range" id="spice" name="spice" type="range"
min="0" max="4" value="2" aria-describedby="spice-scale" style="--steps: 4">
<p class="range-scale" id="spice-scale"><span>Mild</span> <span>to</span> <span>Atomic</span></p>
</div>
Button
button.tier-button
A plain button in sign colors with a hard ink edge underneath. Hover dips it halfway and pressing sinks it onto the edge. The tone is a data-tone attribute.
Cherry (default)
data-tone="teal"
data-tone="mustard"
Disabled
Markup
<button class="tier-button" type="submit">Send order</button>
<button class="tier-button" type="reset" data-tone="teal">Start over</button>
<button class="tier-button" type="button" data-tone="mustard">Call carhop</button>
Layout helpers
.choice .control-row .control-stack
.choice is the label that wraps a checkbox, radio or switch with its text. .control-row lines controls up in a wrapping row, and .control-stack stacks boards or fields with even gaps.
.control-row
Markup
<div class="control-stack">
<fieldset class="signboard">...</fieldset>
<div class="control-row">
<button class="tier-button" type="submit">Send order</button>
<button class="tier-button" type="reset" data-tone="teal">Start over</button>
</div>
</div>