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

SlotNameRequiredField typesAggregationsWhat it shows
slot.text.contentContentnostring, 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

ChannelLabelValueRulesBrand tokensWhat it sets
text.colorText colorcoloryesnoColour of the text. Default black (#000000).
text.fontFamilyFontstringnonoThe 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.fontSizeFont sizenumberyesnoSize of the text in points (72 per inch). Default 16.
text.fontStyleItalicstring: normal, italicyesnoWhether the text is set in italics. Default off.
text.fontWeightFont weightstring: normal, boldyesnoWhether the text is set normal or bold. Default normal.
text.opacityOpacitynumberyesnoHow see-through the text is, from 0 (invisible) to 1 (solid). Default 1.
text.underlineUnderlineboolean: false, trueyesnoWhether the text has a line under it. Default off.
text.valueTextstringyesyesReplaces 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.