# Controlled Mode

By default, the Checkbox is in an uncontrolled state.

The Checkbox provides options for controlling the Value and Checked state. It supports setting it's boolean value using either `value` or `checked` prop. Note that if you provide both props, the `value` prop will be passed to the underlying `input` element.

## Controlling the Value

To manage the value of the Checkbox:

1. Use its [`value`](https://www.telerik.com/kendo-react-ui/components/inputs/api/checkboxprops#value) property.
2. Handle the [`onChange`](https://www.telerik.com/kendo-react-ui/components/inputs/api/checkboxprops#onchange) event.
3. Pass the new value through the props.

The following example demonstrates how to control the Checkbox `value` and toggle the task completion state externally via a button.

[Demo Source](https://demos.telerik.com/kendo-react-ui/inputs/checkbox/controlled/value/func/source.txt)

## Controlling the Checked state

To manage the checked state of the Checkbox:

1. Use its [`checked`](https://www.telerik.com/kendo-react-ui/components/inputs/api/checkboxprops#checked) property.
2. Handle the [`onChange`](https://www.telerik.com/kendo-react-ui/components/inputs/api/checkboxprops#onchange) event.
3. Pass the new value through the props.

The following example demonstrates how to control the Checkbox `checked` state to manage a newsletter subscription status.

[Demo Source](https://demos.telerik.com/kendo-react-ui/inputs/checkbox/controlled/checked/func/source.txt)

## Suggested Links

* [API Reference of the Checkbox](https://www.telerik.com/kendo-react-ui/components/inputs/api/checkboxprops)
