Skip to main content

Text Widget

Displays static text or dynamic text built from template variables and special functions.

Template Variables​

Use double curly braces to insert dynamic values:

Current viewers: {{viewers}}
Now playing: {{stream_category}}

See Special Variables for the full list.

Template Functions​

Stream uptime: {{format_duration(stream_uptime)}}
Today is {{weekday}}

See Special Functions for all functions.

Text Styling​

PropertyDescription
FontFont family selection
Font SizeSize in pixels
Font WeightBoldness (100 to 900)
ColorText color
OutlineUp to two outline colors with adjustable size
Drop ShadowEnable/disable text shadow
Text styleReplaces the settings above with a text style

Text Style​

Set Text style to draw the text in a text style, a saved look with outlines, gradients, glow and more. Pick one of your styles or a built-in one, and use Edit style to change it.

With a style set, the widget's own font, colour, outline and shadow fields hide. These stay:

  • Font and Weight, to swap just the typeface. Leave Font empty or Weight on Style default to use the style's.
  • Highlight, for text you wrap in <hl>…</hl>. If the style has marked words, those draw in the style's marked look. If not, they take the Highlight colour.

Editing the style updates the widget, OBS included. In a Flow Event or Flow Alert, bind the style to a flow parameter with {{flowEvent.style}} or {{flowAlert.style}}. See Flow Event.

See Also​