> For the complete documentation index, see [llms.txt](https://docs.sentre.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sentre.io/design-pricinples/checkbox.md).

# Checkbox

### Usage

* Used for selecting multiple values from several options.
* If you use only one checkbox, it is the same as using Switch to toggle between two states. The difference is that Switch will trigger the state change directly, but Checkbox just marks the state as changed and this needs to be submitted.

### States

![](/files/7bzNyUO1pyiZITZres8f)

### Specs

![](/files/9KxbPgFMTUGdXYeUAsMt)

### Sample code

```
// Some code
```
