Label value stacked component setup

task brazil Updated Sep 10, 2026 3 min read label-value-stacked-component-uib-setup.md
Raw file servicenow.com

Use the Label value stacked component to display label-value pairs vertically where column or horizontal space is limited.

Before you begin

This task assumes you have placed the component on the page and are ready to configure the properties and events. For instructions on accessing and using features in UI Builder, see Customize UI Builder pages using components.

Note: This document describes the latest component functionality. Go to the store to make sure you have the latest version of the component.

Role required: admin or ui_builder_admin

Procedure

  1. Define a label for your Label value stacked that differentiates it from other components in the content tree.

    A label makes finding the component easier in a large list of components. For instructions on using the content tree, see Manage UI pages and page variants. For instructions on using the content tree, see Customize UI pages using components.

    [Omitted image "label-value-stacked-content-tree.png"] Alt text: Component with label displayed in the content tree

  2. Select the Label value stacked component, using one of these methods:

    • Click anywhere within the component.
    • Select the Label value stacked label you created for your component in the content tree. The property fields appear in the Config tab in the setup panel on the right.

Parent Topic:UIB Setup Information

Label value stacked component properties

Configure the appearance and features of the Label value stacked component.

To configure the properties, enter either static or dynamic input. Enter dynamic input by selecting the input type.

Field

Property

Description

Items

items

Array of label-value items that describe each item. A label item can have one or more value items. Value items can be rendered as a string, a text link, a highlighted value, or raw HTML content. Avoid raw HTML content since it cannot be translated by the component platform.

Alignment

align

Position of label-value items in relation to each other. Choose from the following options.- Vertical - Display label-value pairs on top of each other

  • Horizontal - Display label-value pairs side-by-side
  • Horizontal-equal - Display label-value pairs side-by-side expanding each item to equally fill its parent container

Size

size

Size of label-value item.

Truncated

truncated

Option to truncate labels and values that do not fit on a single line within its parent container.

Wrap text

wrapped

Option to wrap label and values that do not fit on a single line to multiple horizontal rows.

Item min width

itemMinWidth

Minimum width of an individual label-value pair. The default value is 50px. The specified value must list a valid style sheet unit of measurement such as px for pixels.

Delimiter

delimiter

Character to display between multiple values of a label.

## Label value stacked component events

The Label value stacked component has no configurable actions (events).

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