unslopkit

Components / Selects and toggles

Size picker with stock

A grid of sizes where sold out ones are struck through and cannot be picked, and the line below reports stock for the size you chose.

Size, EU

Tarn Edge climbing shoe. Fits snug, most people go half a size down.

Pick a size to see stock. In stock. Posted tomorrow from Sheffield. Only 2 pairs left in this size.

Size guide
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-size-picker">
<fieldset>
  <legend>Size, EU</legend>
  <p class="shoe">Tarn Edge climbing shoe. Fits snug, most people go half a size down.</p>
  <div class="sizes">
    <label class="sz"><input type="radio" name="ukc-toggle-size-picker-size" aria-label="38"><span aria-hidden="true">38</span></label><label class="sz out"><input type="radio" name="ukc-toggle-size-picker-size" aria-label="39, sold out" disabled><span aria-hidden="true">39</span></label><label class="sz"><input type="radio" name="ukc-toggle-size-picker-size" aria-label="40"><span aria-hidden="true">40</span></label><label class="sz"><input type="radio" name="ukc-toggle-size-picker-size" aria-label="40.5"><span aria-hidden="true">40.5</span></label><label class="sz"><input type="radio" name="ukc-toggle-size-picker-size" aria-label="41"><span aria-hidden="true">41</span></label><label class="sz low"><input type="radio" name="ukc-toggle-size-picker-size" aria-label="42, low stock" checked><span aria-hidden="true">42</span></label><label class="sz out"><input type="radio" name="ukc-toggle-size-picker-size" aria-label="43, sold out" disabled><span aria-hidden="true">43</span></label><label class="sz"><input type="radio" name="ukc-toggle-size-picker-size" aria-label="44"><span aria-hidden="true">44</span></label>
  </div>
  <div class="foot">
    <p class="msg" aria-live="polite"><span class="m-none">Pick a size to see stock.</span><span class="m-ok"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg> In stock. Posted tomorrow from Sheffield.</span><span class="m-low"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3l9.5 17h-19z"/><path d="M12 10v4M12 17h.01"/></svg> <b>Only 2 pairs left</b> in this size.</span></p>
    <a href="#">Size guide</a>
  </div>
</fieldset>
</div>

More selects and toggles

All 28
  • Skerry Line · crossing of 14 June

    Boarding was quick and easy.
    The cafe was worth the queue.

    Agreement scale

  • Live room BMics are hot. Knock and wait.Mics are muted. Come on in.

    On air lever

  • Trailer type

    Dry van, 53 ftReefer, 53 ftFlatbed, 48 ft

    Rates are this week's average, Reno to Boise.

    Select built on details

  • Orders

    38 open orders, newest first38 open orders in 4 stages38 open orders over 9 delivery days38 open orders, 31 inside the ring road

    View switcher with icons

  • The Third Man

    Sat 8:15 pm · Screen 2 · Roxy Lane Cinema

    • Free
    • Yours
    • Taken

    $11 each

    Seat picker

  • 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

    Program dial