unslopkit

Components / Selects and toggles

Large radios

Big round radios with labels you can hit easily and a hint under each choice.

How should we contact you?
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-govuk-radios">
<fieldset>
  <legend>How should we contact you?</legend>
  <label class="r"><input type="radio" name="ukc-gr" checked><span class="mark"></span><span><span class="t">Email</span><span class="h">We reply within one working day</span></span></label>
  <label class="r"><input type="radio" name="ukc-gr"><span class="mark"></span><span><span class="t">Phone</span><span class="h">Weekdays, 9 AM to 5 PM PT (noon to 8 PM ET)</span></span></label>
  <label class="r"><input type="radio" name="ukc-gr"><span class="mark"></span><span><span class="t">Text message</span></span></label>
</fieldset>
</div>

More selects and toggles

All 28
  • Email notifications
    Weekly digest

    Labelled switch

  • Auto-send invoices

    On

    Round hours up

    Off

    Switch with state text

  • Checkbox tiles

  • Segmented control

  • Select with its list open

  • Checkbox list