---
sourceDocument: Brazil Build or modify applications
sourceDocumentLink: https://www.servicenow.com/docs/r/application-development

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Tabs component setup

# Tabs component setup {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 4 minutes to read  
The Tabs component comprises a set of tabs, each displaying different components. Tabs can be arranged horizontally or vertically. This component was named Tab Set in versions prior to Tokyo.

## 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](https://www.servicenow.com/docs/YMtTz79hYjmj5_kMcObIuA "Learn what a component is in UI Builder. Also, see how components work within UI Builder.").  
Note:  
This document describes the latest component functionality. Go to the store to make sure you have the latest version of the component.

For instructions on overriding styles using the Styles pane, see [Change the default appearance of components](https://www.servicenow.com/docs/ZNH7s2eu64BLSAAatrRtfg#add-styling-to-component "Set the styles for components and wrappers to change the default appearance.")

Role required: admin or ui_builder_admin

## Procedure

1. Define a label for Tabs that differentiates it from other components in the content tree.  
   A descriptive 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](https://www.servicenow.com/docs/Hq7OFdFRjvDFnNsfdtsMGw "Learn what a page is in UI Builder. Understand the building blocks of a UI Builder page, such as column layouts and components.") .  

2. Select the Tabs component using one of these methods:
   * Click anywhere within the component on the page.
   * Select the label you created for your component in the content tree.

   {#tabs-uib-component-setup__choices_ef7_wpm_0se}  
   The configuration options appear in the panel on the right.  

{#tabs-uib-component-setup__steps_jhd_qpz_xnb}

## Tabs component properties {#ariaid-title2}

Configure the tabs displayed in your Tabs component.
To configure the properties, enter either static or dynamic input. Enter dynamic input by selecting the input type.

* Data binding: Creates dynamic property values from multiple sources. Sources include state variables (@state), URL variables (@context), or data resource payloads (@data). For details, see [Add and configure data resources to a
  page](https://www.servicenow.com/docs/~B53KgSqh6jyRj9wmzg8LA "Add data resources to dynamically expose data from tables, records, or other elements on your page in UI Builder.") .
* Scripting: Creates a scripted property value. For details on scripted values, see [Create and bind a client state parameter to a component](https://www.servicenow.com/docs/JxkxcsWDJlkywLr4rc~p8A "Create and bind a client state parameter value to a component in UI Builder. By adding custom values to your components, these components can then be automatically updated through a script.") .
{#tabs-config-properties__choices_4jq_bp0_csl} {#tabs-config-properties__table_bwt_nsz_xnb__entry__2}

| Label \[property\] | Description |
|-|-|
| Tabs \[items\] | Area of the component that a user can configure like a page, by adding layout, components, and other elements for a specified tab. Contains the following fields \[properties\]: Tab label \[label\] :   Text label to be displayed in the tab body and/or provided to assistive technologies (required). Icon \[icon\] :   Name of icon name to display in the tab label. Hide tab \[conditional\] :   A value of 'true' hides the tab. You can bind this property to a client state parameter or write a script that would hide the tab only in certain conditions.Default: false |
| Default tab \[defaultRoute\] | Statically sets the tab that is selected when the page loads. |
| Selected tab index \[selectedTabIndex\] | Dynamically sets the tab that is open by default when bound to data by string queries or data resources. To set the default tab statically, use defaultTabProperty​. |
| Label size \[size\] | Sets the size of the tab labels, Small (sm) or Medium (md). |
| Hide tab labels \[hideLabel\] | When enabled, hides the tab labels. This setting doesn't affect tab icons. Default value: false |
| Tab CSS styles \[tabStyles\] | Field for custom CSS to apply to the tab bar or the tab container. Use `.tabset-tabs` and `.tabset-container` classes to style these regions. Default value: `.tabset-tabs{\n\n}\n.tabset-container{\n\n}` |
| Tab position \[position\] | Sets the position of the tabs and determines if they display horizontally or vertically. The choices are: * Top: Displays the tabs horizontally at the top of the content * Start: Displays the tabs vertically at the beginning of the content * End: Displays the tabs vertically at the end of the content {#tabs-config-properties__ul_c4c_4wf_xwb} Default value: Top Note: Configuring vertical tabs displays additional properties. |
| Maximum width \[maxWidth\] | Maximum width (in pixels) of each tab. Text is truncated if it's longer than the tab width. Default value: 240 |
| Span tabs \[fixedWidth\] | When enabled, horizontal tabs are spaced evenly (justified) in the available space. When disabled, the tabs adjust dynamically, based on the amount of available space. This property is available when the tab position is set to Top. Default value: false |
| Space between items \[spaceBetweenItems\] | Sets the space between the tabs: None, xxs, xs, sm, md, lg, xl, xxl, 3xl. This property is available when the tab position is set to Start or End). Default value: None |
| Allow user to collapse tabs \[enableCollapsing\] | When enabled, allows users to collapse the content in a selected tab by clicking the tab icon. This property is available when the tab position is set to Start or End). Default value: false |
| Collapse tabs by default \[initiallyCollapsed\] | When enabled, collapses all tab content when the page first loads. This property is available when the tab position is set to Start or End). Default value: false |
| Show inline padding \[showInlinePadding\] | When enabled, adds additional inline padding to vertical tab buttons. This property is available when the tab position is set to Start or End). Default value: false |
[ ]

{#tabs-config-properties__table_bwt_nsz_xnb}

## Tabs component events {#ariaid-title3}

Select event handlers to configure the actions (events) provided with the Tabs component.
The Events tab shows the events used by the Tabs 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 {#tabs-config-events__section_nsg_twh_m5b}

Event handlers work with data resources to link the Tabs 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](https://www.servicenow.com/docs/8s23OEG1s5oowl~vaOUlLw "Add an event handler to a page, component, data resource, or declarative action within UI Builder so that your user can trigger an action.").  

<br />

### Event descriptions {#tabs-config-events__section_bmb_h5z_xnb}

{#tabs-config-events__table_dmb_h5z_xnb__entry__2}

| Event | Description |
|-|-|
| Tab item selected | Action that is fired when a tab is selected. Payload includes `selectedTabIndex`: Tab index identifying the route of the tab that was selected. |
| Tab collapsed | Action that is fired when a tab is collapsed. Payload includes `collapsed`: Flag indicating the collapsed state of the selected tab. |
[ ]

{#tabs-config-events__table_dmb_h5z_xnb}

