Checkbox

The 2-state checkbox in its native format

Colors No
Sizes No
Variables No

The checkbox class is a simple wrapper around the <input type="checkbox"> HTML element. It is intentionally not styled, to preserve cross-browser compatibility and the user experience.

<label class="checkbox">
  <input type="checkbox">
  Remember me
</label>

You can add links to your checkbox, or even disable it.

<label class="checkbox">
  <input type="checkbox">
  I agree to the <a href="#">terms and conditions</a>
</label>
<label class="checkbox" disabled>
  <input type="checkbox" disabled>
  Save my preferences
</label>

This page is open source. View on GitHub