Text
A block of text on the page. It shows typed words, field tokens such as {{data.Name}}, or one bound field's value, formatted for print.
This page is generated from the product’s own definitions, so it is always current. To change it, change the product.
A block of text on the page. It shows typed words, field tokens such as {{data.Name}}, or one bound field's value, formatted for print.
When to use it. Use for headings, sentences and single values; pick a Status Badge when the value should read as a coloured chip, or a KPI for a headline number with a comparison.
Slots
| Slot | Name | Required | Field types | Aggregations | What it shows |
|---|---|---|---|---|---|
slot.text.content | Content | no | string, number, date, percentage, boolean, enum, image_url | — | The field whose value becomes the element's text, printed with the binding's format. Any field type fits; unbound, the typed text and its {{data.Field}} tokens show. |
Channels
| Channel | Label | Value | Rules | Brand tokens | What it sets |
|---|---|---|---|---|---|
text.color | Text color | color | yes | no | Colour of the text. Default black (#000000). |
text.fontFamily | Font | string | no | no | The font a text uses, taken from the brand profile's heading or body font. Not shown in Appearance; without a brand rule the text keeps its own font. |
text.fontSize | Font size | number | yes | no | Size of the text in points (72 per inch). Default 16. |
text.fontStyle | Italic | string: normal, italic | yes | no | Whether the text is set in italics. Default off. |
text.fontWeight | Font weight | string: normal, bold | yes | no | Whether the text is set normal or bold. Default normal. |
text.opacity | Opacity | number | yes | no | How see-through the text is, from 0 (invisible) to 1 (solid). Default 1. |
text.underline | Underline | boolean: false, true | yes | no | Whether the text has a line under it. Default off. |
text.value | Text | string | yes | yes | Replaces the element's text with a rule's outcome, such as "Below average" when a score is under 60. An outcome can include field tokens like {{data.Name}}; an empty outcome keeps the current text. |
See channels for every channel, rule kinds for what a rule can be, and operations for the operations that create and change this kind.