> For the complete documentation index, see [llms.txt](https://docs.emobiq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emobiq.com/emobiq-client/004-ui-components/forms/checkbox.md).

# Checkbox

The 'Checkbox' component is used to present a binary choice option that can be selected or deselected.

## Properties

| Property      | Value Sample   | Value Type | Description                                                                                                                                                                                                                                                                                                                       |
| ------------- | -------------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Name          | checkbox1      | string     | Specifies the name or identifier of the Checkbox component.                                                                                                                                                                                                                                                                       |
| Checked       | true           | boolean    | If set to true, the Checkbox will be pre-selected.                                                                                                                                                                                                                                                                                |
| Hide On Print | false          | boolean    | If set to true, the Checkbox component will be hidden when printed.                                                                                                                                                                                                                                                               |
| Style Class   | checkbox-style | string     | Specifies the style class to be applied to the Checkbox component.                                                                                                                                                                                                                                                                |
| ID Prefix     | checkbox\_     | string     | \[Only used when placed inside a 'Datalist' component] Specifies the prefix used for the unique identification of this component inside a parent 'Datalist' component. The name identifier of this component will be overwritten with the concatenation of ID Prefix and the value in the data source referenced by the ID Field. |
| ID Field      | data\_id       | string     | \[Only used when placed inside a 'Datalist' component] Specifies the field name from a data source bound to the parent 'Datalist' component. The name identifier of this component will be overwritten by concatenating the ID Prefix and the value in the data source referenced by the ID Field.                                |

## Related Actions

N/A

## Example Uses

N/A
