# label

> Talos 0.7 · Since 0.6

Use it in a scene entity's `components` list as `{ "type": "label", … }`. The contract writes the fields flat and refuses unknown keys.

## Fields

| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
| `textKey` | `string` | yes |  |  |  |
| `size` | `number` | yes |  |  |  |
| `billboard` | `boolean` | yes |  |  |  |

## Rules that can refuse it

- `material-shader-param-range`

## Example

From the contract's tested fixture `fixtures/contract/full20/scene.json#hazard-sign`.

```json
{
  "type": "label",
  "textKey": "label.sign",
  "size": 0.3,
  "billboard": true
}
```
