Components and element catalog
Start with Add components to a project for the insertion workflow. The 16 built-in types are available in the right-hand component toolbar and the Add element context-menu picker. Version 27.0.29 also supports Custom Element, giving 17 registered types; project components appear in the picker’s Custom Elements section.
The picker contains nine Basic Elements and seven Widgets. Use the comparison below to choose a control, then open its linked guide for VS Code screenshots, sidebar settings, examples, and verification steps.
Available controls
| Control / JSON type | Picker group | Purpose | Key configuration |
|---|---|---|---|
Button / button | Basic Element | Touch commands and navigation | Rich text, icon, actions |
Text / text | Basic Element | Labels and dynamic status | Typography and dynamic tokens |
Image / image | Basic Element | Artwork and MJPEG previews | Source, fit, simple or stream variant |
Spacer / spacer | Basic Element | Spacing, dividers, decorative shapes | Size, background, border |
State Control / stateControl | Basic Element | On/off selection | Switch, checkbox, toggle; labels and colors |
Input / input | Basic Element | User input | Placeholder, input display, value binding |
Date Time / dateTime | Basic Element | Clock and date | Analog, digital, datetime; locale and time zone |
Video / video | Basic Element | Video files and streams | Standard, HLS, RTSP; URL and playback |
Slider / slider | Basic Element | Numeric or range values | Simple, range, fat; limits, step, orientation |
Color Picker / rgbPicker | Widget | Color selection | RGB channels or hex value; RGB-only analog Join Map |
Round Slider / roundSlider | Widget | Circular numeric control | Arc, range, step, value binding |
Shades Compact / shadesCompact | Widget | Shade position | Left, right, dual, vertical; range and value |
Dpad / dpad | Widget | Directional and center buttons | Labels and digital joins |
Autonomic / autonomic | Widget | Media player interface | API URL, player selection |
Subpage / subpage | Widget | One embedded page | Target page and input parameters |
Subpage List / subpageList | Widget | Repeated page instances | Target page, array datasource, parameters, layout |
Coverage in 27.0.29
All 17 registered types have dedicated guides. The built-in picker groups remain nine Basic Elements and seven Widgets, with project HTML components listed separately as Custom Elements. Color Picker retains the stored rgbPicker type and supports RGB and hex variants. Shared visibility, entrance animation, and layered backgrounds apply across element types.
| Additional type | Picker section | Purpose | Key configuration |
|---|---|---|---|
Custom Element / customElement | Custom Elements | Project HTML component in an iframe | elements/<id>/, manifest props/events, propValues |
Layered backgrounds
Since 27.0.7, Appearance → Background groups optional layers into collapsible cards labeled by stacking order: color → image → video → gradient. Expand each card to configure that layer and its opacity. A top gradient can tint an image or video without replacing it. Read the Backdrop blur tooltip when distinguishing the background from content behind it.
For video, select a local MP4/WebM asset or an external URL, enable the video layer, and choose Loop (on by default). Playback is muted/autoplay and covers the background area; Loop off plays once. For a gradient, enable the layer and open the gradient picker. Shared gradient defaults belong in the Theme Editor, with instance overrides where required.
Stored background fields are background.videoBackground (enabled, useExternalUrl, externalUrl, src, opacity, blur, loop) and background.gradientBackground (enabled, value, opacity). Layer opacities are 0–100. Save and check the stacking, readability, video loading, and playback in Live Preview and on the target. Keep interactive video in a Video element when playback controls are required.
Video-layer Blur is 0–100 px. Background Transition (background.transition) is 0–5000 ms, with a 200 ms theme default and 0 disabling the transition; it applies to the background stack. These settings differ from page navigation and element entrance animations.
For isVisible, reserve-space hiding, animate, and container/list cascades, see Visibility and entrance animations.
Element Properties sidebar
Name controls by purpose, such as MainVolume or OpenLighting, so bindings and diagnostics are easier to follow. The shared controls below apply across element types; each dedicated guide explains its type-specific settings.
- Open a
.pagefile in the NG visual editor. - Select the element on the canvas. Open Element Properties in the activity bar if its sidebar is not already visible.
- Check the blue type badge and Element name to confirm which control you are editing.
- Expand the relevant groups. Scroll within the sidebar to reach additional settings; selecting a variant can change the controls available.
- Save and test the interaction in Live Preview after configuring it in the editor.
| Sidebar area | How to use it |
|---|---|
| Element name | Give the control a recognizable project name. This is separate from its displayed text or label. |
| Attached datasource | Associate data with the element when needed. A datasource does not automatically configure outgoing actions. |
| Width / Height | Set the size and units. Use the field's binding control when the dimension should come from a supported dynamic value. Parent layout still affects placement. |
| Create element mode / Add mode | Add appearance overrides for states. Once modes exist, use Mode selector by index or name for runtime selection and Mode preview (editor only) to inspect them on the canvas. See Modes. |
| Input Parameters | On Subpage and Subpage List, provide values for parameters declared by the target page. |
| CSS Classes | Apply the project's CSS classes for reusable styling. |
| Variant | Choose the presentation offered by the selected type. Not every element has this group. |
| Layout groups | Type-specific arrangement controls, such as State Control Layout and Slider Layout. |
| Appearance | Expand styling groups for supported colors, typography, background, borders, padding, and effects. Available groups depend on the element. |
| Content | Set the type's actual content: text, source URL, numeric limits, color value, target page, or connection fields. |
| Actions | Configure interaction behavior. A visible label, value, or mode alone does not send a command. |
The canvas selection outline and rulers are editing aids. A successful editor preview confirms the appearance; use Live Preview and the actual integration to verify actions, feedback, playback, and hardware behavior.
Appearance and Actions in the sidebar
The Button example above expands Appearance and Actions. Expand Color and Font for text styling, Background for the fill, Border for outlines and corners, and Padding for space inside the element. Shadow and Reflection add optional effects. The older screenshot shows Background color, Backdrop blur, and Apply background image. In 27.0.29, expand the numbered background layer cards for color, image, video, and gradient. Other element types expose the groups relevant to their rendering.
Under Actions, click Create Action to begin configuring behavior. Choose the event and destination appropriate to the control, then test it. The sample command button is selected for editing; its text does not imply that a presentation system is connected. See Actions and navigation for the action workflow.
Shared sizing and appearance
Properties include typography, background, padding, border, shadows, width/height, modes, and actions. Use the active theme for shared defaults and individual properties for local overrides.
Configure dimensions in Element Properties.
For example, set an element’s width to 100%, maximum width to 400 px, and height to 64 px in Element Properties.
Minimum and maximum dimensions
Since 27.0.35, the renderer honors minimum and maximum width and height across all element types. In Element Properties, use the dimensions block and expand the size-limit control beside Width or Height. Set the min and max rows with their units, then resize the preview to check the resulting bounds.
In 27.0.41, the dimension labels summarize configured limits. The limit rows remain expanded while a limit is set; clear the limits before collapsing them. Each limit has its own full-width row and explanatory tooltip. For example, a 100% width capped at 400 px grows with its parent until it reaches that cap. Check small viewports too: a minimum wider than the available space can cause overflow.
For source edits, limits are nested inside their dimension objects: width.minWidth, width.maxWidth, height.minHeight, and height.maxHeight, each using { "value": 400, "unit": "px" } style values. Keep the primary dimensions at width.width and height.height.
An omitted size or value: null lets the renderer use its default/flexible behavior. Image opacity uses 0–100. Border widths and radii use numeric pixel values. Fixed-layout constraints determine anchoring; responsive layouts use flow and order.
Save property edits
Since 27.0.35, editor-form changes persist to disk automatically after a short debounce and reach Live Preview without a manual save. Finish dialogs such as Save action & close before expecting their result to apply. Save direct source-file edits explicitly and inspect the file diff before building or handing off a project.
The mode selector and preview labels also have information popovers in the sidebar. Empty containers no longer display a No elements placeholder; select their background or structure entry to continue editing.
