Skip to content

Text ui-text

Displays a non-editable text field on the user interface. Each received msg.payload will update the value shown alongside the (optional) label.

Properties

PropDynamicDescription
GroupDefines which group of the UI Dashboard this widget will render in.
SizeControls the width of the button with respect to the parent group. Maximum value is the width of the group.
LabelThe text shown within the button.
LayoutChoose how to layout your label (if deifned) & value.
StyleCheckbox to define whether or not to include custom styling for the text. Enabling this will then show the below options.
FontIf "style" is enabled, this will define the font of the text.
Text SizeIf "style" is enabled, this will define the size of the text.
Text ColorIf "style" is enabled, this will define the color of the text.

Dynamic Properties

Dynamic properties are those that can be overriden at runtime by sending a particular msg to the node.

Where appropriate, the underlying values set within Node-RED will be overriden by the values set in the received messages.

PropPayloadStructures
Classmsg.classString

Example

Examples of TextExamples of variants of ui-text rendered in a Dashboard.