Docs

Widget Studio

When the ready widgets are not enough, draw your own: a tank that looks like your tank, a panel with your machine on it. No code is needed, and the AI Assistant can do the drawing for you.

Open it

Unlock a dashboard and press Widget Studio in its toolbar.

Widget Studio: My templates on the left, the canvas in the middle, properties on the right
My templates, the canvas and the properties of what you selected.

Four ways to start

Load Virtuino WidgetReady widgets made by Virtuino: gauges, tanks, knobs, panels. A copy goes to My templates, ready to change.
Load Widget from CommunityThe Widget Library: widgets shared by other people who use Virtuino.
NewDesign: built visually, with no code. Code widget: HTML and JavaScript, for developers.
Load from diskA widget file saved earlier with Save to disk, or sent to you by someone.

Design

The Design view.

Elements
Text, Value, Icon, Image, Rectangle, Circle, Line, Bar, Arc and Chart. Click one in the toolbar and it lands on the canvas.
Properties
Size, position, colors and behavior of the selected element. With nothing selected: the size, corners and background of the widget itself.
Layers
Every element in order, to select what is hidden behind something else.
Slots & info
The slots of the widget (below), its name, category and description.
Arrange
Align, distribute, bring to front, send to back, duplicate, undo. Arrow keys move by 1 px, Shift + arrows by 10 px.
Script
Optional lines of code for a design widget, when a rule is easier to write than to draw.

Slots: where your fields plug in

A widget does not know your fields. It has slots.

Your fields tank/level tank/valve The widget in levelreads a value and shows it inout valveshows it and can change it
in
The widget reads the field: a level, a temperature, a state.
out
The widget writes to the field: a button that sends a command.
inout
Both: a switch that shows the state and changes it.

You connect slots to fields later, on the dashboard. That is why one widget works in every account and on every project.

Simulation

Try the widget before it touches a dashboard.

The Simulation panel: the widget in a dashboard frame, with a slider for each slot
Simulation: move a slider and the widget reacts.
Dashboard · Phone
The widget in the size of a dashboard cell or of a phone. Drag the corner of the frame for any other size.
Test values
A control for each slot. Tick sim and the value changes by itself; Simulate all does it for every slot, at the speed you choose.
Settings
The settings your widget offers to the person who adds it, for example its title.
History
For widgets with a chart: the shape of the test data (daily wave, random walk, steps, no data).

AI Assistant

Press AI Assistant and say what you want, in your own language: "a water tank with the level in percent and a red warning under 20", or, on an open widget, "make it blue and show the pressure in bar". The assistant changes the widget in the editor; you see the result, keep it or ask again.

Put it on a dashboard

Save

Save in the Studio. The widget is now in My templates.

Add Widget

On the dashboard, choose the category My templates (Widget Studio) and click your widget.

Connect

Under Connect the slots to your fields, pick a field for each slot.

Save widget

Lock the dashboard and it is live.

Its own copy
The widget on the dashboard keeps its own copy of the design. Changing the template later does not change it.
Edit design
In the settings of the widget: opens the Studio for this one widget only.
Frame
Most Studio widgets draw their own card, so the dashboard frame is hidden by default. You can switch it back on.

Widget Library

Share yours, use what others made.

The Widget Library: cards of shared widgets with a live preview and an Add button
The Widget Library. Every card is a live preview.
Add
Puts your own copy in My templates. Change anything; the original stays as it is.
No code · Verified
No code: a design widget, with nothing to run. Verified: checked by Virtuino.
Share with community
In the Studio, open the menu of a template: say what it does, choose a category and your name as the author. Shared widgets carry the MIT licence, and each one is reviewed before it appears.
SCADA · Digital Twins
Simulation kits: a small plant that runs by itself. One click makes its fields, a script that simulates the process and a dashboard with its screen. Later, connect the same screen to your real boards.