--- title: Checklist component setup description: The Checklist component shows items with a check box to mark them as completed or pending.Configure the Checklist component with these properties.Select event handlers to configure the actions \(events\) provided with the Checklist component. locale: en-US canonical_url: https://www.servicenow.com/docs/r/application-development/ui-builder/checklist-component-setup.html release: brazil product: UI Builder classification: ui-builder topic_type: task last_updated: "2026-09-10" reading_time_minutes: 6 breadcrumb: [UIB Setup Information, UI Builder, Builder library, Developing your application, Classic app development, Building applications] --- # Checklist component setup The Checklist component shows items with a check box to mark them as completed or pending. ## 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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/work-components.md). **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 Checklist 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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/work-pages.md). \[Omitted image "checklist-label.png"\] Alt text: Checklist component in tree. 2. Select the Checklist component, using one of these methods: - Click anywhere within the component. - Select the Checklist 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. \[Omitted image "checklist-config-panel.png"\] Alt text: Shows the config panel for Checklist properties **Parent Topic:**[UIB Setup Information](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/uib-setup-information.md) ## Checklist component properties Configure the Checklist component with these properties. 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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/add-data-resources.md). - **Scripting**: Creates a scripted property value. For details on scripted values, see [Create and bind a client state parameter to a component](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/state-parameters.md).
| Label \[property\] | Description |
|---|---|
| Size\[size\] | Size of the checklist.Options are: - **Small**: Sets the size at 20 px - **Medium**: Sets the size at 24 px Default: **Medium** |
| Prefixes\[prefixType\] | Determines if checkboxes will be ordered, and provides options for numeric or alphabetic prefixes.Options are: - **None** - **Numeric** - **Alphabetic** Default: **None** |
| Checkbox items\[checklistData\] | JSON object with the configuration of the items to show in the checklist.Object properties: - `itemId`: Unique identifier for the checklist item - `checked`: To mark the checklist item as selected when the list loads, set to **true** - `required`: To mark the checklist item as required, set to **true**. Enabling this property adds a \* next to the item. - `disabled`: To disable the checklist item, set to **true**. Disabled items are not selectable. - `readonly`: To mark the checklist item as read-only, set to **true**. Read-only items are not selectable. - `invalid`: To mark the checklist item as invalid, set to **true**. - `order`: The order of the item in the checklist. - `label`: Label to display for the checklist item. - `hasLink`: To identify that the checklist item has a link, set to **true**. Requires `link` configuration. - `errorMsgForLabel`: Error message to display when unable to display the checklist item's label. - `link`: Configuration of link properties. - `url`: Link URL. - `text`: Link text. - `errorMsgForLink`: Error message to display when the link URL has issues. Default: ```json [ { "itemId": "checkbox_0", "checked": false, "required": true, "order": 0, "label": "this is item 0", "hasLink": true, "link": { "url": "javascript:void(0)", "text": "sample link 0" } }, { "itemId": "checkbox_1", "checked": false, "order": 1, "label": "this is item 1", "hasLink": true, "link": { "url": "javascript:void(0)", "text": "sample link 1" } }, { "itemId": "checkbox_2", "checked": false, "order": 2, "label": "this is item 2", "hasLink": true, "link": { "url": "javascript:void(0)", "text": "sample link 2" } }, { "itemId": "checkbox_3", "checked": false, "order": 3, "label": "this is item 3", "hasLink": true, "link": { "url": "javascript:void(0)", "text": "sample link 3" } } ] ``` |
| Open links in a new window\[opensWindow\] | To open links in a new window or tab \(depending on user's browser configuration\), set to **true**.Default: **false** |
| Allow editing\[allowEditing\] | To enable the end user to edit the checklist, set to **true**. Users can add, edit, or delete checklist items and links. Users can also reorder items in the list by dragging and dropping them. Default: **false** |
| Show edit mode\[isEditMode\] | Available when **Allow editing** is set to **true**. To load the checklist directly in edit mode, set to **true**.Default: **false** |
| Disable add link\[disableAddLink\] | Available when **Allow editing** is set to **true**. To disable the **Add link** button, set to **true**.Default: **false** |
| Checklist Edit options\[checklistEditOptions\] | Available when **Allow editing** is set to **true**. JSON object containing field-interactivity options to show in the edit mode. Each configuration is a boolean property, enabling any adds its corresponding toggle under the checklist item.Default: ```json { "required": false, "disabled": false, "invalid": false, "readonly": false } ``` |
| Empty state title\[emptyStateTitle\] | Primary text to display in the empty state message. |
| Empty state message\[emptyStateMsg\] | Secondary text to display in the empty state message. |
| Show loading spinner\[showLoadingSpinner\] | Displays a loading spinner to an end user to indicate that the system is loading data or saving the users change's to the checklist. |
| Event | Description |
|---|---|
| Item link clicked | Link text is clicked for any checklist item. The event payload contains the following:- itemId \(string\) - link - text \(string\) - url \(string\) |
| Item clicked | A checklist item is checked or unchecked. The event payload contains the following:- checked \(true/false\) - itemID \(string\) |
| Edit clicked | User selects the **Edit** action to put the checklist into edit mode |
| Edit cancelled | User selects the **Cancel** action to leave edit mode |
| Save clicked | User selects the **Save** action in edit mode to save changes to the checklist.Payload: - actionType - data |