Basic
Default
Selected
Partially Selected
Disabled
Disabled (selected)
Disabled (partially)
Usage
<form class="ui-form">
<fieldset>
<div class="ui-form__group">
<div class="ui-checkbox">
<label>Label
<input type="checkbox" name="a" value="a1" />
<span class="ui-checkbox__bg"></span>
</label>
</div>
<div class="ui-checkbox ui-checkbox--box">
<label>Label
<input type="checkbox" name="a" value="a2" />
<span class="ui-checkbox__bg"></span>
</label>
</div>
<div class="ui-checkbox ui-checkbox--partial">
<label>Label
<input type="checkbox" name="a" checked>
<span class="ui-checkbox__bg"></span>
</label>
</div>
<div class="ui-checkbox ui-checkbox--partial ui-checkbox--box">
<label>Label
<input type="checkbox" name="a" checked disabled>
<span class="ui-checkbox__bg"></span>
</label>
</div>
</div>
</fieldset>
</form>
Multiple radios
Default
Selected
Partially Selected
Disabled
Disabled (selected)
Disabled (partially)
Usage
<form class="ui-form">
<fieldset>
<div class="ui-form__group">
<div class="ui-checkbox">
<label>Label 1
<input type="checkbox" name="b" value="b1" />
<span class="ui-checkbox__bg"></span>
</label>
</div>
<div class="ui-checkbox">
<label>Label 2
<input type="checkbox" name="b" value="b2" />
<span class="ui-checkbox__bg"></span>
</label>
</div>
<div class="ui-checkbox">
<label>Label 3
<input type="checkbox" name="b" value="b3" />
<span class="ui-checkbox__bg"></span>
</label>
</div>
</div>
</fieldset>
</form>
With icon aligned top
Default
Selected
Partially Selected
Disabled
Disabled (selected)
Disabled (partially)
Usage
<form class="ui-form">
<fieldset>
<div class="ui-form__group">
<div class="ui-checkbox">
<label>First Label
<input type="checkbox" name="a" value="a1" />
<span class="ui-checkbox__bg ui-checkbox__bg--top-align"></span>
</label>
</div>
<div class="ui-checkbox ui-checkbox--box">
<label>First Label
<input type="checkbox" name="a" value="a2" />
<span class="ui-checkbox__bg ui-checkbox__bg--boxed-top-align"></span>
</label>
</div>
<div class="ui-checkbox ui-checkbox--partial">
<label>Second Label
<input type="checkbox" name="a" checked>
<span class="ui-checkbox__bg ui-checkbox__bg--boxed-top-align"></span>
</label>
</div>
<div class="ui-checkbox ui-checkbox--partial ui-checkbox--box">
<label>Third Label
<input type="checkbox" name="a" checked disabled>
<span class="ui-checkbox__bg ui-checkbox__bg--boxed-top-align"></span>
</label>
</div>
</div>
</fieldset>
</form>