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


---

# Dropdown component setup

# Dropdown 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 Dropdown
component enables users to select one or more options using a dropdown
menu.

## 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 Dropdown 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. Select the Dropdown component, using one of these methods:
   * Click anywhere within the component.
   * Select the Dropdown label you created for your component in the content tree.

   {#dropdown-component-uib-setup__choices_z3p_rll_qnb}  
   The property fields appear in the Config tab in the
   setup panel on the right.
{#dropdown-component-uib-setup__steps_y3p_rll_qnb}

## Dropdown component properties {#ariaid-title2}

Define the styles, button size of the dropdown menu, and ARIA properties value of your
Dropdown component with these
properties.
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.") .
{#dropdown-config-properties__table_ipx_wll_qnb__entry__2}

| Label \[property\] | Description |
|-|-|
| Placeholder text \[placeholder\] | Default label text when no items are selected. If you do not specify a value, especially in the case of iconic dropdowns, provide `tooltipContent` and/or an `aria-label` through the configAria property. |
| Variant \[variant\] | Selects button style of the dropdown trigger. Possible choices are: * `primary` * `primary-selection` * `secondary` * `secondary-selection` * `tertiary` * `tertiary-selection` {#dropdown-config-properties__ul_ynd_n3t_nsb} |
| Hide container \[bare\] | Makes the dropdown trigger border and background transparent but retains its variant style setting when using an iconic button. |
| Size \[size\] | Button size of the dropdown trigger: Small, medium, or large. |
| Search behavior \[search\] | Controls how to filter the items as the user types into the integrated search input. |
| Disabled \[disabled\] | Disables the dropdown and prevents the dropdown from opening when the user interacts with it. |
| Label \[label\] | Sets the value of the label string used. |
| Label position \[labelPosition\] | Sets the position of the label relative to the dropdown trigger. |
| Label size \[labelSize\] | Sets the size of the label used. |
[Table 1. Base properties]

{#dropdown-config-properties__table_ipx_wll_qnb} {#dropdown-config-properties__table_zzc_n22_dwb__entry__2}

| Label \[property\] | Description |
|-|-|
| Placeholder icon \[icon\] | Placeholder icon to include in the dropdown trigger. This icon is replaced with the icon of a selected dropdown item if the item has an icon configured. |
| Hide caret \[hideCaret\] | Hides the default triangular caret icon that appears in the dropdown trigger. |
[Table 2. Identifier]

{#dropdown-config-properties__table_zzc_n22_dwb} {#dropdown-config-properties__table_mks_522_dwb__entry__2}

| Label \[property\] | Description |
|-|-|
| Show padding \[showPadding\] | Includes side padding on bare buttons. By default, bare buttons with labels don't have side padding. |
[Table 3. Padding]

{#dropdown-config-properties__table_mks_522_dwb} {#dropdown-config-properties__table_jb4_cf2_dwb__entry__2}

| Label \[property\] | Description |
|-|-|
| List items \[items\] | Array of dropdown items Dropdown item properties: * `id` (string \| number): Unique identifier for the item.{#dropdown-config-properties__dropdown-id} {#dropdown-config-properties__dropdown-id} * `label` {string}: Text that describes the item.{#dropdown-config-properties__dropdown-label} {#dropdown-config-properties__dropdown-label} * `sublabel` {string}: Additional text for the item.{#dropdown-config-properties__dropdown-sublabel} {#dropdown-config-properties__dropdown-sublabel} * `count` {number}: Numeric indicator displayed next to the item.{#dropdown-config-properties__dropdown-count} {#dropdown-config-properties__dropdown-count} * `icon` {string}: Name of the icon to display next to the item. See the `now-icon` API and icon gallery for the list of valid names. Cannot be used with `presence` or `avatarProps`.{#dropdown-config-properties__dropdown-icon} {#dropdown-config-properties__dropdown-icon} * `disabled` {Boolean}: When true, the dropdown item is visible but not selectable by the user.{#dropdown-config-properties__dropdown-disabled} {#dropdown-config-properties__dropdown-disabled} * `presence` ("available" \| "away" \| "busy" \| "offline"): Online status of a user to display in a dropdown list of users or statuses. Cannot be used with `icon` or `avatarProps`.{#dropdown-config-properties__dropdown-presence} {#dropdown-config-properties__dropdown-presence} {#dropdown-config-properties__ul_uhx_ybv_fsb} |
[Table 4. Item]

{#dropdown-config-properties__table_jb4_cf2_dwb} {#dropdown-config-properties__table_zc3_jf2_dwb__entry__2}

| Label \[property\] | Description |
|-|-|
| Selection \[select\] | Determines the action when a user selects an item in the dropdown menu. The options include: * single: The panel closes, the trigger label is updated with the label of the selected list item, and the list item is marked as selected. * multi: The panel stays open, the trigger label is updated with the selected list item count, and the list item's selected state is toggled on or off. * none: The panel closes, the trigger label is not updated, and the list item is not marked as selected. {#dropdown-config-properties__ul_fl3_y3t_nsb} |
| Selected items \[selectedItems\] | Array of IDs representing selected dropdown panel items. If multi-select mode isn't enabled, each time the user selects a list item, the previously selected ID is replaced with the new ID. If multi-select mode is enabled, IDs are added to or removed from the list. Use `manage-selected-items` to override the default behavior and handle the NOW_DROPDOWN#SELECTED_ITEMS_SET event manually. |
| Hide selected item \[hideLabel\] | Hides the selected items in the dropdown trigger. By default, the dropdown displays the selected item or a count of selected items in place of the placeholder text of the dropdown trigger label. |
[Table 5. Selection]

{#dropdown-config-properties__table_zc3_jf2_dwb} {#dropdown-config-properties__table_bzw_hg2_dwb__entry__2}

| Label \[property\] | Description |
|-|-|
| Panel position \[panelFitProps\] | Properties to configure the dropdown panel. Valid keys are: * position: Array of possible positions in which to place the panel, relative to its target, such as `bottom-start` or `top-start`. * constrain: Object specifying size constraints relative to the panel's target. Choices are: `minHeight`, `minWidth`, `maxWidth` and `maxHeight`. * offset: Number of pixels to offset the panel from the trigger. {#dropdown-config-properties__ul_umg_blt_nsb} |
| Opened \[opened\] | Automatically updates when the user opens or closes the dropdown. Use `manage-opened` to override the default behavior and handle the NOW_DROPDOWN#OPENED_SET event manually. |
[Table 6. Panel]

{#dropdown-config-properties__table_bzw_hg2_dwb} {#dropdown-config-properties__table_cq5_3h2_dwb__entry__2}

| Label \[property\] | Description |
|-|-|
| Tooltip text \[tooltipContent\] | Text displayed inside the tooltip. |
| 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. The `trigger` key corresponds to the inner HTML `<button>` that acts as the dropdown trigger. |
[Table 7. Accessibility]

{#dropdown-config-properties__table_cq5_3h2_dwb}

## Dropdown component events {#ariaid-title3}

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

Event handlers work with data resources to link the dropdown actions to the data you
want to display to your users. Expand the event in the list and 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 {#dropdown-config-events__section_jwc_qpl_dwb}

{#dropdown-config-events__table_mzv_1ml_qnb__entry__2}

| Event | Description |
|-|-|
| Dropdown list visible | The user opens the dropdown menu, and the content renders in the DOM. The `content` property is a node list containing the dropdown's inner `now-dropdown-list` element. |
| Dropdown list hidden | The user closes the dropdown menu, and the content is fully removed from the DOM. |
| Dropdown opened set | The user opens or closes the dropdown menu. Payload contains: * true: Dropdown opens * false: Dropdown closes {#dropdown-config-events__ul_ijg_bpt_nsb} |
| Selected items changed | The user changes the selected items and the Selection is set to Single or Multi. The event contains these keys: * value: An array containing either a single ID or multiple IDs of the selected items. * items: An array of objects of the item or items selected from the dropdown list. {#dropdown-config-events__ul_tfg_wtb_rpb} |
| Item selected | The user selects an item and the Selection is set to None. The event contains a reference to the clicked item. Handle this action for dropdown menus in which `select="none"`. |
[ ]

{#dropdown-config-events__table_mzv_1ml_qnb}

