# Checkbox

The [`Checkbox`][checkbox] widget is a [`Button`](./button.md) that toggles a
[`CheckboxState`][checkboxstate] when clicked.

[`CheckboxState`][checkboxstate] contains three variants:

- Indeterminant: A horizontal line will be drawn in the box to show a state of
  neither checked or unchecked.
- Checked: A checkbark will be drawn in the box.
- Unchecked: No indicator will be drawn in the box.

[checkbox]: <{{ docs }}/widgets/checkbox/struct.Checkbox.html>
[checkboxstate]: <{{ docs }}/widgets/checkbox/struct.CheckboxState.html>
