Skip to main content

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 typePicker groupPurposeKey configuration
Button / buttonBasic ElementTouch commands and navigationRich text, icon, actions
Text / textBasic ElementLabels and dynamic statusTypography and dynamic tokens
Image / imageBasic ElementArtwork and MJPEG previewsSource, fit, simple or stream variant
Spacer / spacerBasic ElementSpacing, dividers, decorative shapesSize, background, border
State Control / stateControlBasic ElementOn/off selectionSwitch, checkbox, toggle; labels and colors
Input / inputBasic ElementUser inputPlaceholder, input display, value binding
Date Time / dateTimeBasic ElementClock and dateAnalog, digital, datetime; locale and time zone
Video / videoBasic ElementVideo files and streamsStandard, HLS, RTSP; URL and playback
Slider / sliderBasic ElementNumeric or range valuesSimple, range, fat; limits, step, orientation
Color Picker / rgbPickerWidgetColor selectionRGB channels or hex value; RGB-only analog Join Map
Round Slider / roundSliderWidgetCircular numeric controlArc, range, step, value binding
Shades Compact / shadesCompactWidgetShade positionLeft, right, dual, vertical; range and value
Dpad / dpadWidgetDirectional and center buttonsLabels and digital joins
Autonomic / autonomicWidgetMedia player interfaceAPI URL, player selection
Subpage / subpageWidgetOne embedded pageTarget page and input parameters
Subpage List / subpageListWidgetRepeated page instancesTarget 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 typePicker sectionPurposeKey configuration
Custom Element / customElementCustom ElementsProject HTML component in an iframeelements/<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.

  1. Open a .page file in the NG visual editor.
  2. Select the element on the canvas. Open Element Properties in the activity bar if its sidebar is not already visible.
  3. Check the blue type badge and Element name to confirm which control you are editing.
  4. Expand the relevant groups. Scroll within the sidebar to reach additional settings; selecting a variant can change the controls available.
  5. Save and test the interaction in Live Preview after configuring it in the editor.
Sidebar areaHow to use it
Element nameGive the control a recognizable project name. This is separate from its displayed text or label.
Attached datasourceAssociate data with the element when needed. A datasource does not automatically configure outgoing actions.
Width / HeightSet 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 modeAdd 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 ParametersOn Subpage and Subpage List, provide values for parameters declared by the target page.
CSS ClassesApply the project's CSS classes for reusable styling.
VariantChoose the presentation offered by the selected type. Not every element has this group.
Layout groupsType-specific arrangement controls, such as State Control Layout and Slider Layout.
AppearanceExpand styling groups for supported colors, typography, background, borders, padding, and effects. Available groups depend on the element.
ContentSet the type's actual content: text, source URL, numeric limits, color value, target page, or connection fields.
ActionsConfigure 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.

Button Appearance groups and Create Action shown in the VS Code sidebar

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.