Configure a component for UI Builder

task brazil Updated Oct 27, 2026 1 min read configure-component-ui-builder.md
Raw file servicenow.com

Add a uiBuilder block to a component's now-ui.json file so that the component appears in the UI Builder toolbox on a workspace landing page.

Before you begin

Role required: admin

About this task

The uiBuilder block controls how the component appears in the UI Builder toolbox. The block is stored in the now-ui.json file, at the root of the project. For the full list of uiBuilder properties, see the component configuration properties reference. For more information about UI Builder, see the UI Builder overview.

Procedure

  1. Open the now-ui.json file at the root of the project.

  2. Add a uiBuilder block to the object for your component under the components property.

    JSON
    {                        "components": {                        "mycompany-stock-tracker": {                        "uiBuilder": {                        "associatedTypes": ["global.core", "global.landing-page"],                        "label": "My Stock Tracker",                        "icon": "chart-forecast-fill",                        "description": "Stock Tracking component",                        "internalComponent": false,                        "category": "Stocks",                        "searchFacets": ["global.stocks:global.tracking"]                        }                        }                        }                        }
  3. Set the associatedTypes values that match where the component appears in the toolbox.

    • global.layout for layout components, such as containers.
    • global.visualization for components that visualize data, such as reports or lists.
    • global.core for base components that apply in all contexts, such as Design System components. UI Builder currently supports customizing Configurable Workspace landing pages only.
  4. Save the now-ui.json file.

  5. Deploy the component to the instance by running the following command:

    Text
    snc ui-component deploy
  6. Log in to the instance that you deployed the component to.

  7. Open your workspace landing page in UI Builder.

  8. Select Add Component.

    The toolbox displays the component by its label, such as My Stock Tracker.

  9. Drag the component onto the landing page.

Result

The component appears on the workspace landing page.

Search documentation
Search document titles and file paths on the brazil branch