# Text Label

{% tabs %}
{% tab title="Property JSON" %}

```json
{
    "type":"Label",
    "properties": {
        "text" : "This is a text label"
    }
}
```

{% endtab %}

{% tab title="State definition" %}
As this element is used for grouping other elements within, there is no need to reflect this element in the defaultState.json
{% endtab %}
{% endtabs %}

{% hint style="info" %}
For build 1.11.x of Squirrel the type needs to be *HTMLLabelElemen&#x74;**.***\
note: this type has been deprecated in 1.12.x onwards for the above type
{% endhint %}

## Configurable Properties

<details>

<summary>text</summary>

**string** - this is the text to display in the label

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.squirrel365.io/squirrel-addon-documentation/building-an-addon/property-panel/property-panel-elements/text-label.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
