Displays custom text, with markup support. If you only intend to run a single script, prefer the [script](script) module. For more advanced use-cases, use [custom](custom). ## Configuration > Type: `label` | Name | Type | Default | Description | |---------|-------------------------------------------------|---------|------------------------| | `label` | [Dynamic String](dynamic-values#dynamic-string) | `null` | Text to show on label. |
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).