# Checkbox [component-header:sl-checkbox] Checkboxes allow the user to toggle an option on or off. ```html preview Checkbox ``` ?> This component doesn't work with standard forms. Use [``](/components/form.md) instead. ## Examples ### Checked Use the `checked` attribute to activate the checkbox. ```html preview Checked ``` ### Indeterminate Use the `indeterminate` attribute to make the checkbox indeterminate. ```html preview Indeterminate ``` ### Disabled Use the `disabled` attribute to disable the checkbox. ```html preview Disabled ``` [component-metadata:sl-checkbox]