# text

> Optional text that appears after the BaseBoolField.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
[UxmlAttribute]
public string text { get; set; }
```

### Remarks

Unity creates a [Label](/engine/6000.7/script-reference/unityengine/uielements/label.md) automatically if one does not exist.
