Radios
Components / Molecules
Radio required.
Elements of type radio are rendered by default as small circular icons that are selected when activated. Radio buttons allow you to select a single value out of a number of set choices for submission in a form. They are called radio buttons because they looks and operate in a similar manner to the push buttons on old-fasioned radios.
For a better UI/UX experience, we use a slightly more complex nesting of divs (just like we achieved with checkboxes) to create the clean look below. Coming soon, colors of the box can change based on the classes:
<div class="radios radios--icons">
<label class="radio--label" for="radio-custom">
Custom Checkbox
<input type="radio" class="radio" id="radio-custom" name="radio-custom" checked>
<span class="radio--icon"></span>
</label>
</div>