[android-components](../../../../index.md) / [mozilla.components.ui.doorhanger](../../../index.md) / [DoorhangerPrompt](../../index.md) / [Control](../index.md) / [CheckBox](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`CheckBox(label: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, checked: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`)`

[Control](../index.md) implementation for checkboxes. A checkbox is a specific type of two-states button that can be
either checked or unchecked.

