---
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


---

# Carousel component setup

# Carousel component setup {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 6 minutes to read  
The Carousel component shows a horizontal ribbon of other components that users cycle through. Select the components for the Carousel and set how to display them.

## 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.

Role required: admin or ui_builder_admin

## Procedure

1. Define a label for your Carousel 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](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. Add one or more components to the content slot for the Carousel to display.  
   You can put any component into the Carousel, but be aware of the styling when doing so. Each top level component is considered a single component. For example, if you add a container with multiple components, the Carousel treats the container as the main component.  
   Tip:  
   Consider using a Carousel inside a Repeater. In this case, do not enable any styling on the Repeater component. Accept its default settings. For more information, see [Add repeaters in UI Builder](https://www.servicenow.com/docs/cRxzkd1d6AmLJ~Kiyyp_PA "In UI Builder, use repeaters to repeat one or more components with results from a data resource.").

   In this example, Carousel
   4 has a container with a Heading and a Button.

   The Heading and the Button are shown together in a single component.

{#carousel-component-uib-setup__steps_ajv_qcr_bsb}

## Carousel component properties {#ariaid-title2}

Configure how Carousel moves the components and the placement of the navigation controls with these properties. Also configure header title and links.
To configure the properties, enter either static or dynamic input. Enter dynamic input by selecting the input type.

* Data binding: Enables you to create dynamic property values derived from multiple sources, such as state variables (@state) in the page, URL variables (@context), or payloads from a data resource (@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.") .
{#carousel-config-properties__choices_sw1_xlv_w2c}

### Title properties {#carousel-config-properties__section_hq4_rcz_bsb}

Set the text to display in the Carousel title.
{#carousel-config-properties__table_iq4_rcz_bsb__entry__2}

| Label \[property\] | Description |
|-|-|
| Hide title \[hideTitle\] | When true, the title is hidden. If hideTitle and hideLinkare true, the header is hidden. Default: false |
| Title \[carouselTitle\] | Text that displays in the header. Default: Title |
| Title level \[titleLevel\] | Defines which HTML heading level element `<h#>` renders the title. Default: 2 |
| Badge configuration \[badgeConfig\] | Customizable badge that appears as a background color to the badge label. Badge is located to the right of the title. Properties are: * label: A string that sets the text of the badge. * color: The badge color. Choices are: * critical * high * warning * moderate * positive * info * low * magenta * pink * orange * yellow * brown * green * green-yellow * blue * gray * teal * purple {#carousel-config-properties__ul_erc_lbb_x2c} * variant: A string that sets the style variant of the badge. Choices are: * primary * secondary * tertiary {#carousel-config-properties__ul_xsk_2cb_x2c} {#carousel-config-properties__ul_vwr_dbb_x2c} Default: label is empty, color is low, and variant is tertiary |
| Title style variant \[titleVariant\] | Defines the styles used to render the title, based on the Heading component. Default: header-tertiary |
| Title location \[titlePosition\] | Sets the position of the title, which can be left-aligned or right-aligned. Default: left |
| Disable text wrapping \[disableTextWrapping\] | If set to true, disables title text from wrapping and truncates the title instead. Default: false |
[ ]

{#carousel-config-properties__table_iq4_rcz_bsb}

### View all link properties {#carousel-config-properties__section_ask_v2z_bsb}

Set the appearance of link on the top-right corner of the header. This link dispatches the Link clicked action.
{#carousel-config-properties__table_jzl_x2z_bsb__entry__2}

| Label \[property\] | Description |
|-|-|
| Hide view all link \[hideLinkhideLink\] | When true, the link is hidden. If hideTitle and hideLink are true, the header is hidden. Default: false |
| Link icon \[linkIcon\] | Defines the icon to use for the link text. Default: Arrow Right Fill |
| Link text \[linkText\] | Text describing the link. Default: View all |
[ ]

{#carousel-config-properties__table_jzl_x2z_bsb}

### Navigation and interaction properties {#carousel-config-properties__section_v4h_bfz_bsb}

Define how Carousel moves the components and the placement of the navigation controls.
{#carousel-config-properties__table_w4h_bfz_bsb__entry__2}

| Label \[property\] | Description |
|-|-|
| Number of items in view \[itemsInView\] | Select whether Carousel shows a horizontal ribbon of multiple items or only a single item at a time. Default: Multiple content items |
| Sliding type \[slidingType\] | Determines whether a user can move a set of items along the ribbon at once or only one at a time. Available only when `itemsInView` is set to multiple-content-items. Default: Slide next set of items |
| Auto scroll speed \[autoScrollSpeed\] | Carousel content auto scroll speed interval. |
| Pause auto scroll \[pauseAutoScroll\] | Pauses Carousel content auto scroll when enabled. |
| Disable looping \[disableLooping\] | When true, the left arrow on the first slide and the right arrow on the last slide don't appear. The user can't scroll backwards from the first component to the last components, or forwards from the last component to the first components. Default: false |
| Left and right navigation controls location \[navPosition\] | The location of the navigation controls on Carousel. Choices are: * center * bottom-left * bottom-right * bottom-split {#carousel-config-properties__ul_z3v_jkv_w2c} Default: center |
| Navigation control gradient color \[gradientStyle\] | The color of the gradient surrounding the navigation controls. Choices are: * primary * secondary * tertiary * dark * none {#carousel-config-properties__ul_c4x_rkv_w2c} Default: primary |
| Navigation control style \[navStyle\] | Specifies whether your navigation icons are filled or outlined. Default: fill |
| Enable advanced navigation button configuration \[enableAdvancedNavConfig\] | Determines whether or not the navigation control configuration is shown and used. Determines whether the navButton is styled by the existing navStyles property or by the navButtonConfig, leftNavButtonIcon, and rightNavButtonIcon properties. When true, enables advanced configuration of the navigation control buttons. Default: false |
| Left navigation button icon \[leftNavButtonIcon\] | When the advanced navigation button property is enabled, you can set the icons for the left/right navigation buttons. This property defines the icon for the left Iconic button navigation control. Default: circle-chevron-start |
| Right navigation button icon \[rightNavButtonIcon\] | When the advanced navigation button property is enabled, you can set the icons for the left/right navigation buttons. This property defines the icon for the right Iconic button navigation control. Default: circle-chevron-end |
| Navigation control configuration \[navButtonConfig\] | Configurable JSON that determines the styling for the navigation buttons. This property only displays when the advanced navigation button property is enabled. Default: `"{"size": "lg", "hide-padding": "true", "bare": "true"}"` |
| Hide dot indicator \[hideDotIndicator\] | When true, the dot indicators under the Carousel ribbon are hidden. These dots indicate which set of components along the ribbon the user is viewing. The user can select a dot to move to that set of components. Default: false |
| View index \[startingIndex\] | Starts Carousel at the given index position along the components. Default: 0 |
[ ]

{#carousel-config-properties__table_w4h_bfz_bsb}

### Empty state properties {#carousel-config-properties__section_dmj_dfz_bsb}

Define what to show when Carousel is empty.
{#carousel-config-properties__table_emj_dfz_bsb__entry__2}

| Field | Description |
|-|-|
| Empty state heading \[emptyStateLabel\] | Heading displayed when Carousel is empty. Default: No content to display |
| Empty state message \[emptyStateContent\] | The message displayed when Carousel is empty. Default: Please add components into the carousel |
| Empty state illustration \[emptyStateIllustration\] | Illustration shown when Carousel is empty. Type: choice Default: Completed-tasks |
[ ]

{#carousel-config-properties__table_emj_dfz_bsb}

## Carousel component events {#ariaid-title3}

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

Event handlers work with data resources to link the Carousel 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.").

### Event descriptions {#carousel-config-events__section_e5g_1rk_nvb}

{#carousel-config-events__table_k3q_t12_csb__entry__2}

| Event | Description |
|-|-|
| Link clicked | The user clicks the View All link. This event doesn't have a set payload. Handler and payload depend on what you want to happen when View All is clicked, which in turn depends on the components in Carousel. |
| Index updated | The user performs a navigation action to change which components are in focus. The payload is the new `indicator` number. You don't need to configure an event handler for navigation to work. Add an event handler only if you want some action other than the default navigation action to occur. |
[ ]

{#carousel-config-events__table_k3q_t12_csb}

