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
| Property | Description |
|---|---|
| Font | Font family selection |
| Font Size | Size in pixels |
| Font Weight | Boldness (100 to 900) |
| Color | Text color |
| Outline | Up to two outline colors with adjustable size |
| Drop Shadow | Enable/disable text shadow |
| Text style | Replaces 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.