unslopkit

Components / Selects and toggles

Program dial

A washing machine dial: the programs sit around a knob that turns to point at the one you pick, and a small display reads out the cycle.

Washer 7 · choose a program

30 C · 46 min · $4.50Cold · 38 min · $4.5040 C · 58 min · $5.0030 C · 30 min · $4.00No water · 12 min · $1.50

Drawn in your kit, Plain.Change the look

The code

Plain HTML and CSS on your kit's variables. Put it next to tokens/variables.css from your kit's files and it draws in your look.

<div class="ukc-toggle-program-dial">
<fieldset>
  <legend>Washer 7 · choose a program</legend>
  <div class="dial">
    <span class="knob" aria-hidden="true"></span>
    <label class="p" style="--a: -112deg"><input class="p1" type="radio" name="ukc-toggle-program-dial-program"><span>Delicates</span></label>
    <label class="p" style="--a: -56deg"><input class="p2" type="radio" name="ukc-toggle-program-dial-program"><span>Wool</span></label>
    <label class="p" style="--a: 0deg"><input class="p3" type="radio" name="ukc-toggle-program-dial-program" checked><span>Cottons</span></label>
    <label class="p" style="--a: 56deg"><input class="p4" type="radio" name="ukc-toggle-program-dial-program"><span>Quick 30</span></label>
    <label class="p" style="--a: 112deg"><input class="p5" type="radio" name="ukc-toggle-program-dial-program"><span>Spin only</span></label>
  </div>
  <p class="lcd" aria-live="polite"><span class="r1">30 C · 46 min · $4.50</span><span class="r2">Cold · 38 min · $4.50</span><span class="r3">40 C · 58 min · $5.00</span><span class="r4">30 C · 30 min · $4.00</span><span class="r5">No water · 12 min · $1.50</span></p>
</fieldset>
</div>

More selects and toggles

All 28
  • Unlimited classes · Kiln Street Yoga

    $118$98a month

    Billed each month. Pause or cancel any time.Billed as $1,176 once a year, mat hire included.

    Monthly Yearly Save $240

    Billing period switch

  • How should we contact you?

    Large radios

  • Email notifications
    Weekly digest

    Labelled switch

  • Auto-send invoices

    On

    Round hours up

    Off

    Switch with state text

  • Checkbox tiles

  • Segmented control