Button bare component setup

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

The Button bare component is a selectable input containing a text label and an optional icon. The default configuration for a Button bare is plain text within a bare container without styling. Button bare has a restricted set of design elements for the button text, icons, and container.

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 Button bare 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.

    [Omitted image "button-bare-config-content-tree.png"] Alt text: Component with label displayed in the content tree

  2. Select the button bare component, using one of these methods:

    • Click anywhere within the component.
    • Select the button bare 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

Button bare component properties

Configure the appearance and features of the Button bare component.

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

Label [property]

Description

Label[label]

Inner label of the button.

Variant[variant]

Color and behavior of the button.

Size[size]

Size of the button.

Disabled[disabled]

Option to disable the component. When this property is set to true, the button color is muted and user interaction is unavailable.Default: false

Icon left of label[iconStart]

Displays an icon at the start of the button.

Icon right of label[iconEnd]

Displays an icon at the end of the button.

Animated icon left of label[animatedIconStart]

Displays an animated icon at the start of the button.

Animated icon right of label[animatedIconEnd]

Displays an animated icon at the end of the button.

Hide block padding[hideBlockPadding]

Removing block padding sets the button height to the size of the text. Buttons with this property do not align vertically with other button types.

Show inline padding[showInlinePadding]

By default, a bare button's width is based on the button's content. Set this to add inline padding either side of the button's content.

ARIA properties[configAria]

An object whose keys reference a specific HTML element within the dropdown. The value of each key is an object that contains an ARIA property and corresponding value. These ARIA properties are set on the specified element.

Landmark[landmark]

Enable the Landmark Focus keyboard shortcut to focus on this split button.

## Button bare component events

Select event handlers to configure the actions (events) provided with the Button bare component.

The Events tab shows the events used by the Button bare component. To view the available events, select + Add event mapping. Select the event in the list to add one or more event handlers.

Event handlers

Event handlers work with data resources to link the Button bare actions to the data you want to display to your users. Select the event in the list to add one or more event handlers.

For instructions on adding event handlers to an event, see Configure an event handler.

Event Description
Button bare clicked Dispatched when the user interacts with the button bare.
Search documentation
Search document titles and file paths on the brazil branch