--- title: Checkbox layout: docs theme: library doc-tab: form doc-subtab: checkbox breadcrumb: - home - documentation - form - form-checkbox meta: colors: false sizes: false variables: false --- {% capture checkbox_example %} {% endcapture %} {% capture checkbox_link_example %} {% endcapture %} {% capture checkbox_disabled_example %} {% endcapture %}

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.

{{ checkbox_example }}
{% highlight html -%} {{- checkbox_example -}} {%- endhighlight %}

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

{{ checkbox_link_example }}
{% highlight html -%} {{- checkbox_link_example -}} {%- endhighlight %}
{{ checkbox_disabled_example }}
{% highlight html -%} {{- checkbox_disabled_example -}} {%- endhighlight %}