> For the complete documentation index, see [llms.txt](https://learn.squirrel365.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.squirrel365.io/squirrel-addon-documentation/building-an-addon/property-panel/property-panel-elements/checkbox.md).

# Checkbox

{% tabs %}
{% tab title="Image" %}
![](/files/yetDdw1qeYwWqaF6LXbq)
{% endtab %}

{% tab title="Property JSON" %}

```json
{
    "type": "Checkbox",
    "properties": {
        "labelName": "Auto Play",
        "bindingPropertyName": "autoPlay"
    }
}
```

{% endtab %}

{% tab title="State definition" %}
The property name needs to match the string specified in bindingPropertyName property. The boolean value will be the default state of the checkbox

```json
{
    "autoPlay": true
}
```

{% endtab %}
{% endtabs %}

## **Configurable properties**

<details>

<summary><strong>bindingPropertyName</strong></summary>

**string** - the property name from defaultState with which to connect to.

<mark style="color:red;">**mandatory**</mark>

</details>
