Checkboxes
Components / Molecules
Custom Frankie Checkboxes
Checkbox required.
Checkbox required.
A checkbox (check box, tickbox, tick box) is a GUI widget that permits the user to make a binary choice, i.e. a choice between one of two possible mutually exclusive options. For example, the user may have to answer 'yes' (checked) or 'no' (not checked) on a simple yes/no question.
For a better UI/UX experience, we use a slightly more complex nesting of divs to create the clean look below. Coming soon, colors of the box can change based on the classes:
<div class="checkboxes checkboxes--icons">
<label class="checkbox--label" for="checkbox-custom">
<span class="checkbox--text">Custom Checkbox</span>
<input type="checkbox" class="checkbox" id="checkbox-custom" checked="">
<span class="checkbox--icon"></span>
</label>
</div>