Skip to content
Changelog

Widgets

Add Lightair's built-in widgets, such as alerts, chat, goals, polls and captions, to a scene, set them up in the Inspector and try them with test events.

In short

  • Click + in the Hierarchy panel, choose Widgets, and pick one. It lands on the canvas ready to use.
  • Set it up in the Inspector. Send a test tries it with a made-up event that only this widget gets.
  • Placeholder keeps sample content on screen while you style it. Going live or recording turns it off.
  • Widgets react to the channels in your destinations' Chat fields. Pick which platforms each one listens to under Gets events from.

In the appHierarchy › Add object › WidgetsInspector › Send a testInspector › Placeholder

Widgets are objects that show what happens on your channels and on your computer: alerts, chat, goals, polls, a subathon timer, live captions and more. Lightair draws them itself. You don’t need an account with an alert service or a browser source pointed at one.

  1. Select the scene, then click + (Add object) at the top of the Hierarchy panel. You can also right-click an empty part of the Hierarchy panel and choose Add object….
  2. Choose Widgets in the list on the left, or type in Search objects and widgets.
  3. Click a widget, or highlight it with the arrow keys and press ↩Enter.

The widget lands in a sensible place on the canvas for its kind (an alert box in the middle, a chat box at the bottom left, a goal along the top) at its own size. Move and resize it like any object. The Alert box plays sounds, so it also gets its own track in the mixer.

The list also has From packages (widgets from packages you’ve installed: see Packages) and Your own › Import a widget (see Bring in StreamElements and Streamlabs widgets).

Widget What it shows
Alert box Follows, subs, donations, cheers and raids, one at a time. Each kind has its own text, picture or video, and sound; donations and cheers can have a minimum amount. It can show the viewer’s message and read paid messages aloud.
Event list The latest follows, subs, donations, cheers and raids, as a column or a row.
Credits This stream’s subscribers, supporters, cheerers, raiders and followers, rolling up like film credits.
Featured message A chat message you pick in the Chat panel (hover it, then Feature on stream). It shows for a set time or until you click Clear.
Widget What it shows
Chat box Every platform’s chat on stream. Choose how many messages show and for how long, platform icons and role tags, whether donations, subs and raids appear too, and hide !commands or named users such as bots.
Emote wall Emotes from chat floating up the screen.
Emote combo The same emote sent again and again in chat, counted.
Widget What it shows
Goal A bar filling up towards a goal of subscriptions, follows, donations, bits, raids or chat messages. Set what you Already have and the Goal.
Counter A death counter or anything you count, with + Add, − Take away and Reset to 0 buttons in the Inspector.
Subathon timer A countdown that subscriptions, follows, donations and bits add time to, with an optional limit. Start, Pause, +5 minutes and Reset are in the Inspector.
Widget What it shows
Poll A question with choices. Chat votes by typing a choice’s number. Start and stop it from the Inspector, or let it close after a set time.
Prediction Chat bets points on an outcome by typing !bet 1 100; the winners split the pot. Open betting, lock bets and pick the winning outcome from the Inspector, or cancel and give the points back.
Wheel A wheel of entries that spins for a winner. It can use the entrants of a Giveaway automation.
Leaderboard The viewers with the most points. Points come from automations.
Widget What it shows
Scoreboard Two sides with their names, colours and scores, a period and an optional clock that counts down or up.
Lower third A name and title that slide in and out, in one of four styles. It can come in by itself when its scene goes on air and hide after a set time.
Web data A number or text read from a web address (an API) and refreshed on a timer, or a picture whose address it reads.
Input overlay Shortcuts you press, mouse buttons and a game controller. By default it shows only shortcuts, never what you type.
Captions What’s said, as live captions, with an optional translation underneath. Speech is heard on this computer, or by a cloud service you choose.
Audio visualiser Bars, mirrored bars, a wave or a circle that move with the sound.
Widget What it shows
Label One line such as the latest follower, the biggest donation or the number of subscriptions this stream.
Now playing The song that’s playing. On a Mac, from Spotify or Apple Music; on Windows, from whatever the system’s media controls show.
Social rotator Your handles on each platform, one at a time.
Heart rate Your heart rate from a Pulsoid sensor. Connect it first under Settings › Connections › Devices.

Select the widget to see its settings in the Inspector. At the top:

  • ⓘ: what the widget does.
  • The link button, Copy its address: copies the widget’s address, to use it in OBS or a browser on this computer.
  • Gets events from: a chip for each platform set up in Outputs, with a dot for how its chat connection is doing. A widget listens to every platform, including ones you add later, until you click one to leave it out. Every platform turns them all back on.

Below are the widget’s own settings, in groups: text, numbers, colours, choices, switches, pictures and sounds, and buttons that act at once (such as a counter’s + Add). Every change shows on the canvas straight away and can be undone.

Widgets react to the channels named in your destinations’ Chat fields. If none are set, the Inspector says so; you can still try a widget with tests. See Chat from every platform.

Send a test opens a menu of the events the widget reacts to (for example Follow, Subscription, Donation, Cheer, Raid, Chat message or Message with emotes). Pick one and only this widget gets it: no other widget, automation or panel sees it.

Two widgets leave tests out unless you allow them, so tests don’t spoil the real count. Turn on Test events add time on a Subathon timer, or Include test events on Credits, to try them.

To send a test to everything at once, use the Test buttons in Activity.

Turn on Placeholder to keep samples of what the widget shows on screen, such as a few chat lines, an alert or a latest follower, while you style it. The samples also show on stream until you turn it off. Placeholder isn’t saved with the show, and going live or recording turns it off.

Widgets that show live data, such as a goal or a counter, don’t need it and don’t offer it.

Under STYLE AND CODE:

  • Custom CSS applies your own CSS over the widget’s style as you type.
  • Customize code… gives you your own copy of the widget’s HTML, CSS, JavaScript and fields, in tabs. From there you can open the files in a folder to edit them in any editor (each save shows at once), export the widget as a .lwidget package to share, edit in a larger editor beside the canvas, or put the original code back.

How widget code works is in Build a widget.

Add a widget to the current scene with object.add:

Terminal window
lightair call object.add '{"kind": "widget", "settings": {"widget": "goal"}}'