Skip to main content

text

Display static or dynamic text content on the dashboard.

Overview

The text node displays text content on your dashboard. Shows labels, values, formatted messages, or any dynamic text. Supports templates and formatting for rich display options.

Label
& Value
Format
Templates
Style
Custom
Icons
Support

Properties

Property Type Default Description
group string - Dashboard group
label string "" Static label text
format string "{{msg.payload}}"Value format template
layout string "row-spread" Layout style

Layout Options

row-spread

Label Value

row-left

Label: Value

col-center

Label Value

row-right

Label: Value

Format Templates

// Basic value
"{{msg.payload}}"
// Shows: 24.5

// With units
"{{msg.payload}} °C"
// Shows: 24.5 °C

// Number formatting
"{{msg.payload | number:2}}"
// Shows: 24.50

// Date formatting
"{{msg.payload | date:'HH:mm:ss'}}"
// Shows: 14:32:05

// Multiple values
"Temp: {{msg.payload.temp}}°C, Humidity: {{msg.payload.humidity}}%"
// Shows: Temp: 24°C, Humidity: 65%

// Conditional
"{{msg.payload > 30 ? '🔥 Hot' : '❄️ Normal'}}"
// Shows: 🔥 Hot (if >30)

Example: Sensor Status Display

// Text node configuration:
{
  "label": "Temperature",
  "format": "{{msg.payload.value}}°C",
  "layout": "row-spread"
}

// Input message:
msg.payload = { value: 24.5, unit: "celsius" };

// Display shows:
// Temperature                   24.5°C

Related Nodes