Components
Button
Parent Class: Content Control
Button component is a clickable component.
When adding a button (as well as most other components) you can change the text that appear on it by typing the desired name under Common → text.
Tip
You should set the button name to a descriptive name that fits Javascript naming conventions. The button text does not need to fit the conventions.
Check box
Parent Class: Input Control
| Property | Type | Description |
|---|---|---|
| text | String | The text shown next to the box. |
| value | Boolean | set the starting value to true or false |
| disabled | Boolean | Set if the checkbox is enabled/disabled by default. |
Checkbox components are boolean components that can be used to set boolean values.
When adding a checkbox you will find a new field under “Common” called - value, which can be switched for true or false.
Clock
Parent Class: Control
Clock component displays and controls a clock. Its value is a ClockValue; see ClockMode and ClockDirection for the values it can carry.
| Property | Type | Description |
|---|---|---|
| format | String | The format the clock is displayed in. |
| Set Direction | Boolean | Allows the direction of the clock (up or down) to be set. |
| Set Stop Time | Boolean | Allows a stop time to be set on the clock. |
Color picker
Parent Class: Input Control
| Property | Type | Description |
|---|---|---|
| value | Color | The starting colour. |
| disabled | Boolean | Set if the color picker is enabled/disabled by default. |
| resetValue | Color | The colour the component returns to when it is reset. Shown as Reset in the properties panel. |
| placement | Enum | Where the picker panel opens relative to the component. Twelve positions: Top, Left, Right, Bottom, Top Left, Top Right, Bottom Left, Bottom Right, Left Top, Left Bottom, Right Top, Right Bottom. |
Info
showText - if set to true, the text value of the color is visible - can only be set from a script. It is not in the properties panel.
Color picker components can be used for changing colors during run time.
The color picker is made of the following elements:
- Preview of the selected color
- UV map of the color hues
- Colors array - effect the colors in the UV map
- Color opacity
- Option to enter a color in an hex color code
Date time picker
Parent Class: Input Control
| Property | Type | Description |
|---|---|---|
| mode | DateTimePickerMode | The mode of the picker (Time / Date / Date & Time / Week / Month / Year). |
| format | String | The format of the value. |
| hint | String | Text that appears on the component when it is empty to hint the user of its use. |
| disabled | Boolean | Set if the picker is enabled/disabled by default. |
| resetValue | - | The value the component returns to when it is reset. Shown as Reset in the properties panel. |
Info
When mode is set to TIME, value is in seconds
e.g. 00:01:02.35 → 1 minute, 2 seconds, 350 ms → 62.35
When mode is not set to TIME, value is the milliseconds since 1970, in UTC
e.g. 0 => 1/1/1970 00:00:00 UTC
To get date use new Date(value).toISOString() → 2020-06-01T10:30:00.000
DateTime picker component can be used to change dates and set timers during run time. When dragging and dropping a Datetime Picker you can find under the Properties → common a “Mode” value, which can be used to set the kind of picker:
-
Time picker: can fill in a time by HH:MM:SS.000 format.
Supports up to 3 numbers after the decimal -
Date picker: let you select a date from a calendar view
-
Date & Time picker: let you select a date from a calendar view and select a time by picking for HH:MM:SS format.
Warning
date and time picker does not support milliseconds.
-
Week picker: let you select a week from a calendar view.
-
Month picker: let you pick a month from a grid view.
- Year picker: let you pick a year from a grid view.
Dial
Parent Class: Numerical Input
Dial component let's users emulate a dial. users have the freedom to set the limit of it's values and the visual look of the dial.
| Property | Type | Description |
|---|---|---|
| Start Angle | number | the Angle in which the thumb should start |
| Hole | number | The size of the inside radius (0 to 100). |
| Length | number | The length of the dial path (0 to 360). |
| Min/Max | number | Set the minimum and maximum values of the Dial. |
| Step | number | The increment applied per step. |
| Reset | number | The value the Dial returns to when it is reset. |
| Disabled | boolean | Set if the Dial is enabled/disabled by default. |
Dropdown
Parent Class: Items Control
| Property | Type | Description |
|---|---|---|
| showSearch | Boolean | If set to true, the user can search the dropdown list |
| allowClear | Boolean | If set to true, the user can clear the selection. |
| disabled | Boolean | Set if the dropdown is enabled/disabled by default. |
Dropdown component lets you create your own dropdown selector with fillable options that is usable during run time.
When dragging and dropping a dropdown component you can find under properties → common, an “items” value. You can fill in the dropdown options under value, each option separated with a new line.
By checking the “Show search” option you will be able to fill in search words for the drop down options during preview mode or live show.
Key Value Pair (KVP)
The Dropdown component (as well as the list component) lets you assign a Key Value Pair (KVP) for each item in the list.
This can be achieved by entering the Key and Value, seperated with a '|', in the Items property of the component.
Example: Key Value Pair definition in the UI Properties window:
This is how the dropdown list would look like:
Getting the value from the list
When you retrieve the value, whether via code, or by assigning the component to a control field, the key will now be the returned value.
For example, running the following code in the example above, when selecting "Canada", "CA" will be returned.
Script Window
dropdown.onChange = () => {
console.log(dropdown.value)
}
Tip
Instead of typing the items in, the item list can be populated from a Data Variable.
Group
Parent Class: Control
Group components let you control the layout of your UI by grouping other components under it.
When dragging and dropping a group component you will get a border, which you can resize.
You then can drag and drop other components into that border and arrange them as you like inside.
moving the bordered box of the group will move all the element inside with it.

Icon
Parent Class: Control
Icon Component let you add Icons to your UI.
| Property | Type | Description |
|---|---|---|
| Icon | icon | The icon to display. |
| Spin | boolean | Turn on/off the spinning of the icon |
| Flip | None/Horizontal/Vertical/Both | flips the Icon on the direction |
| Rotation | None/90/180/270 | Rotates the Icon in the specified angle |
Joystick
Parent Class: Control
Joystick component let you emulate a joystick in your UI. Check Draggable Locator for an example of the use of this component.
| Property | Type | Description |
|---|---|---|
| Horizontal | axis | Assign the axis for the horizontal movement of the Joystick. |
| Vertical | axis | Assign the axis for the vertical movement of the Joystick. |
| Step | number | The increment applied per step. |
| Min and max | vector | Set the minimum and maximum values of the Joystick. |
| Inner Color | Color Picker | The color of the Joystick Thumb. |
| Outer Color | Color Picker | The color of the Joystick Pad. |
| Disabled | boolean | Set if the Joystick is enabled/disabled by default. |
Knob
Parent Class: Numerical Input
Knob component lets you emulate a Knob in your UI.
| Property | Type | Description |
|---|---|---|
| Min/Max | number | Set the minimum and maximum values of the Knob. |
| Step | number | The increment applied per step. |
| Range | number | The range of value for every rotation of the Knob stick. |
| Start Angle | number | The Angle in which the thumb should start. |
| Hole | number | The size of the inside radius (0 to 100). |
| Reset | number | The value the Knob returns to when it is reset. |
| Disabled | boolean | Set if the Knob is enabled/disabled by default. |
Label
Parent Class: Content Control
Label components let you add fixed text into your UI , labels are used to make headings and create easy to understand UI.
List
Parent Class: Items Control
| Property | Type | Description |
|---|---|---|
| allowReorder | boolean | Turns on and off the ability to rearrange the list while in preview / on air. |
| disabled | boolean | Set if the list is enabled/disabled by default. |
Member Procedures
| Event | Description |
|---|---|
| onItemsReorder | Triggered when an item is moved inside the list. |
List components let you create a list of options and select a value for the list from its options.
When dragging and dropping a list component you can find under properties → common, an “items” value, you can fill in the list options under value, each option separated with a new line.
You can set the default value of the list under Value, and you can make the list arrangeable during run time by ticking “Allow reorder”.
Reorder enabled:
Reorder disabled:
Key Value Pair (KVP)
The List component (as well as the Dropdown component) lets you assign a Key Value Pair (KVP) for each item in the list.
This can be achieved by entering the Key and Value, seperated with a '|', in the Items property of the component.
Example: Key Value Pair definition in the UI Properties window:
This is how the list would look like (when choosing the 3rd item):
Getting the value from the list
When you retrieve the value, whether via code, or by assigning the component to a control field, the key will now be the returned value.
For example, running the following code of the example above, when selecting "Openning Clip", "C093546I" will be returned in the console.
Script Window
list.onChange = () => {
console.log(list.value)
}
Tip
Instead of typing the items in, the item list can be populated from a Data Variable.
Media
Parent Class: Control
| Property | Type | Description |
|---|---|---|
| value | string | The path to the media file (using mediaHub, Studio storage or computer Pass). |
| initial | string | The path to the media file visual hint (a more in depth explanation below). |
| fit | MediaFit | Set play mode for the media: keep aspect ratio / keep aspect ratio and scale down / stretch. See MediaFit. |
| crop | Cropping | ALLOWED / NO / ALWAYS - whether the operator may, may not, or must crop the image. |
| controls | boolean | Show or hide media control. |
| loop | boolean | Turn on and off playing in loop. |
| muted | boolean | Mute or play sound. |
Member Procedures
| Event | Description |
|---|---|
| onChange | Triggered when new media item is loaded |
Media components allow you to send media files (images and videos) from your machine to the rendering engine via Erizos Studio.
Under properties → common you will find the following fields:
- Initial: allow you to choose a media file that will be presented to the operator, but will not be sent to the engine. The initial field should be used to give the operator a visual hint or as a placeholder.
- Value: this is the media file that will be sent to the engine on take-in. The Value of the Media can be:
- Mediahub Asset
- Hosted media asset URL (http)
- Local asset (by using
path://orfile://)
- Fit: three buttons - Keep aspect ratio, Keep aspect ratio & scale down, and Stretch.
- Crop: three buttons - Allowed, No and Always. Crop is not a simple on/off switch: Allowed lets the operator crop the image, No prevents it, and Always requires it.
- Videos: each icon is a toggle button: show controls, play in loop and mute.
Tip
The media value can be changed during runtime using scripting. For example the media file can be changed based on a value of a List component.
When using Local Assets as your media value, make sure Erizos Studio can access the path you specified. You can check more details regarding permissions in this link.
Media Browser
Parent Class: Media
| Property | Type | Description |
|---|---|---|
| source | MediaSource | Select media source option: Default, MediaHub, Storage, or Path (*). With Default, the component uses MediaHub (if enabled), or Storage (if MediaHub is not enabled). |
| type | MediaType | Select the type of media: Image / Video (the default), Image, Video, Audio, or Sequence. |
| crop | Cropping | ALLOWED / NO / ALWAYS - whether the operator may, may not, or must crop the image. |
| disabled | boolean | Set if the Media Browser is enabled/disabled by default. |
| resetValue | string | The media the component returns to when it is reset. Shown as Reset in the properties panel. |
Media Browser components extend the standard Media component functionality by allowing operators to click and select files directly from their local machine while in Preview or On Air mode. This provides a streamlined workflow for quick media selection without leaving the graphics interface.
Rules
A Media Browser has an extra Rules section in the properties panel that limits what the operator can pick:
| Rule | Description |
|---|---|
| Source | Where the operator browses: Default, MediaHub, Storage or Path (*). |
| Type | Which kind of media may be selected. |
| Aspect Ratio | Filters the assets by format - see below. |
| Extensions | Limits selection to assets with the listed file extensions. Empty means No extensions, i.e. no restriction. |
| Root Folder | Limits selection to assets in a specific MediaHub folder. If left empty the whole library is browsable. |
| Tags | Limits selection to assets carrying specific MediaHub tags. |
| Meta Data | Limits selection to assets whose MediaHub metadata matches the conditions you set. |
Aspect Ratio Rule
The Aspect Ratio rule filters the assets the operator can choose by their format. To apply it:
- Select the Media Browser component
- In the Properties panel, go to Rules → Aspect Ratio
- Choose one or more preset ratios (
16:9,4:3,1:1,9:16,3:4) or type a custom width:height ratio. Leaving it empty shows No Aspect Ratio and applies no filter. - Click Save to apply the changes to your UI

Next to the Aspect Ratio list is a Crop To Aspect toggle. With it on, the operator is required to crop the image to the aspect ratio you configured.
Media Source Requirements
All options (MediaHub, Storage, Path) require the Agent for caching.
Path works only with the thick client (Erizos Studio desktop application). Studio Server will store the path (and not the actual file).
Notification
Parent Class: Control
| Property | Type | Description |
|---|---|---|
| type | Enum | Error, warning, success, info. |
| title | string | Header of the notification. |
| message | string | The main body of the notification. |
| showIcon | boolean | Show or hide the notification icon. |
| closable | boolean | Turn on or off the ability to close the notification. |
Notification components work like an ad-hoc label. The notification can be used to notify the user with some pre-made stylization and functions.
Under properties → common you will find a Type drop down under which you can choose the type of notification with it premade style form:
-
Info: blue notification with blue
-
Success: green notification with green
-
Warning: yellow notification with yellow
-
Error: red notification with red
You can change the notification title and add a message if you would like.
Tip
By ticking the closable option you are allowing the user to close the notification by clicking on , as seen in the Success notification example.
Number Input
Parent Class: Numerical Input
| Property | Type | Description |
|---|---|---|
| precision | int | Set how many digit the save after to decimal (up to 4). |
| leadingZeros | int | Pad the displayed value with leading zeros to this many digits (1 to 6). Leave empty for no padding. |
| disabled | boolean | Set if the number input is enabled/disabled by default. |
| Reset | number | The value the component returns to when it is reset. |
Number input components lets you set a float value. The value can be set by typing it in, clicking the arrows next to the value, or holding and dragging the component left or right while in preview/on air.
Under properties → common you can set default value, set the min and max values for the float, change the step size (for clickable and draggable), the number of Leading Zeros (3.7 and later) and the value Precision (up to 4 digits after the decimal).
Info
Step is the increment applied per step - per arrow click, per drag step, per keyboard press. Its smallest allowed value follows the precision you set: with a precision of 2, the smallest step is 0.01.
Info
Leading Zeros is the total number of digits shown before the decimal point, between 1 and 6. Set it to 3 and the value 7 is shown as 007, 7.5 with a precision of 2 as 007.50. A negative value keeps its minus sign in front of the padding. Leave the field empty to show the number unpadded. Only the display is padded - the value sent to the engine is the number itself.
Radio
Parent Class: Items Control
| Property | Type | Description |
|---|---|---|
| direction | Enum | Horizontal , vertical. |
| radioStyle | Enum | Radio Buttons, Buttons. |
| disabled | boolean | Set if the radio group is enabled/disabled by default. |
Radio components are another way of creating a list, using buttons. Under properties → common you will find the following fields:
- Value: default value.
- Items: here you can fill in the different options, separated by a new line.
- Direction: allows you to control whether the buttons are stacked horizontally or vertically.
- Style: using default button style, or more stylized buttons.
Slider
Parent Class: Numerical Input
| Property | Type | Description |
|---|---|---|
| Show Label | Enum | When the value label is shown: On Drag (the default), Never or Always. |
| vertical | boolean | Set the slider orientation horizontally of vertically . |
| reverse | boolean | Set if the slider start from the right or left. |
| disabled | boolean | Set if the slider is enabled/disabled by default. |
| Reset | number | The value the slider returns to when it is reset. |
Slider components are used to set a numerical value that is controlled by a slider. Under properties → common you will find the following fields:
- Value: default value.
- Min and max: set the minimum and maximum values of the slider.
- Step: the increment applied per step. Its smallest allowed value follows the precision you set.
- Vertical&Reverse: allows you to adjust the sliders to you needs - horizontal or vertical slider, and which side is the start.
Switch
Parent Class: Input Control
| Property | Type | Description |
|---|---|---|
| value | boolean | The starting value. |
| checkedText | string | The text shown on the switch when it is on. |
| uncheckedText | string | The text shown on the switch when it is off. |
| Checked Bg | Color | The background colour of the switch when it is on. Found under Style, not Common. |
| disabled | boolean | Set if the switch is enabled/disabled by default. |
Switch components are used to control boolean values.
Under properties → common you can set the default value to true or false, and set text that will appear on the switch for each.
Table
Parent Class: Control
Table component displays rows of data in your UI.
| Property | Type | Description |
|---|---|---|
| Allow Reorder | boolean | Lets the operator rearrange the rows. |
| Show Index | boolean | Show or hide the row index column. |
| Virtual | boolean | Render only the visible rows, for large tables. |
| Min | number | The minimum number of rows. |
| Max | number | The maximum number of rows. |
| Disabled | boolean | Set if the table is enabled/disabled by default. |
Member Procedures
| Function | Returns | Description |
|---|---|---|
| setRow(row, values) | void | Sets multiple columns of a specific row, or a single-column row with one value. |
| getRow(row) | any | Gets all columns of a specific row. |
| getValue(row, column) | any | Retrieves the value at the specified row and column. |
| setValue(row, column, value) | void | Sets the value at the specified row and column. |
| swapRows(index1, index2) | boolean | Swaps the positions of two rows. |
| addRow(index, values) | number | Adds a row, with an optional index and values. |
| removeRow(index, count) | boolean | Removes count rows starting at index. |
| clear() | void | Clears the items in the table. |
The full type is in Classes.
Tabs
Parent Class: Input Control
Tab components are another variation of ordering components.
By dragging and dropping a Tab component you will create a space that can have many facades, based on the tab you are on.
Under properties → common you will find the following fields:
- Position: lets you select to which border the tabs will be docked.
- Tabs: by pressing the + icon you can add new tabs. Each tab can be renamed, and reordered.
Text input
Parent class: Input Control
| Property | Type | Description |
|---|---|---|
| maxCharacters | number | Set the maximum amount of characters for the text input. Shown as Limit in the properties panel. |
| hint | string | Set text that will be shown when the text field is empty. |
| multiline | boolean | Allow new lines in the value. |
| readOnly | boolean | Makes the text input uneditable. |
| disabled | boolean | Set if the text input is enabled/disabled by default. |
| resetValue | string | The text the component returns to when it is reset. Shown as Reset in the properties panel. |
Text input components are used to set text values and send strings to the engine.
Under properties → common you will find the following fields:
- Value: default text value.
- Hint: text that will appear in the text input field when it's empty.
- Multiline: tick to enable creating a new line in string.
- Limit: fill in an int value to limit how many characters are allowed as input.
- Read only: makes the text input uneditable.
Vertex Input
Parent Class: Numerical Input
| Property | Type | Description |
|---|---|---|
| precision | number | Set how many digits to save after the decimal (up to 4). |
| leadingZeros | number | Pad each displayed axis value with leading zeros to this many digits (1 to 6). Leave empty for no padding. |
| linked | boolean | Set all the vector values to duplicate each other. |
| disabled | boolean | Set if the vertex input is enabled/disabled by default. |
| Reset | number | The value the component returns to when it is reset. |
Vertex input components are used to fill in vector components and send vectors to the engine. Under properties → common you will find the following fields:
- Type: you can choose between 2 dimensional vector, and 3 dimensional vector.
- Value: the default values of the vector.
- Min and max: set the min and max value for the vector.
- Leading Zeros and Precision: Precision sets how many digits after the decimal are available, up to 4 digits. Leading Zeros (3.7 and later) pads each axis value to that many digits before the decimal point, between 1 and 6 - set it to 3 and 7 is shown as
007. Leave it empty to show the values unpadded; it changes the display only, not the value sent to the engine. - Linked: tick to keep the proportions between the vector values.
- Step: the increment applied per step. Its smallest allowed value follows the precision you set.
Error
Value of 0 in a vector value will cause a problem, if you need any dimension to by flat we suggest using 0.001.
Web Page
Parent Class: Control
| Property | Type | Description |
|---|---|---|
| URL | link | The Link of the Page to be displayed. |
Web Page component can be used to display Web Pages on your UI. It can also be used to send or receive data from UI Builder to the attached Web Page and vice versa. Check Webpage Component for an example of the use of this component.
Component
Parent Class: Control
A Component element is an instance of a Component UI placed inside the UI you are building. It is created by dragging a Component from the Components tab of the editor's left panel onto the canvas, after that Component has been attached to this UI.
| Property | Type | Description |
|---|---|---|
| Component | reference | Which Component UI this element is an instance of. |
Web App
Parent Class: Control
| Property | Type | Description |
|---|---|---|
| URL | string | Auto-generated. Points to the published UI Builder interface. (e.g. http://localhost:5550/webapps/TeleprompterApp) |
Web App component renders a published UI Builder interface inside your current UI. Like a Component element, it is created by dragging a Web App from the Components tab onto the canvas.
All Web Apps are listed and accessible in the browser at http://localhost:5550/webapps
For developers
Web App supports two-way communication via postMessage.


















