Displays custom text, with the ability to embed [scripts](https://github.com/JakeStanger/ironbar/wiki/scripts#embedding). ## Configuration > Type: `label` | Name | Type | Default | Description | |---------|----------|---------|-----------------------------------------| | `label` | `string` | `null` | Text, optionally with embedded scripts. |
JSON ```json { "end": [ { "type": "label", "label": "random num: {{500:echo $RANDOM}}" } ] } ```
TOML ```toml [[end]] type = "label" label = "random num: {{500:echo $RANDOM}}" ```
YAML ```yaml end: - type: "label" label: "random num: {{500:echo $RANDOM}}" ```
Corn ```corn { end = [ { type = "label" label = "random num: {{500:echo $RANDOM}}" } ] } ```
## Styling | Selector | Description | |----------|------------------------------------------------------------------------------------| | `.label` | Label widget | For more information on styling, please see the [styling guide](styling-guide).