Template card component setup

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

The Template card component displays a summary of an assist record. Configure a Template card component to highlight relevant information from an assist record, to help the user make a decision, or to provide context.

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 Template card that differentiates it from other components in the Customize UI pages using components.

    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 "template-card-content-tree.png"] Alt text: Component with label displayed in the content tree

  2. Select the Template card component, using one of these methods:

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

Template card component properties

Configure the appearance and features of the Template card component.

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

Field

Property

Description

Tagline

tagline

Object to configure a tagline or title for the card. The object consists of these elements.- label - Text to display as tagline

  • icon - Icon that appears before the tagline label

Actions

actions

Array that defines the actions displayed at the top of the card.

Heading

heading

Text description of the card. This text is the most prominent.

Content

content

Array of objects that define how to display label values in the content. Each object consists of these elements.- label - Text to display as label

  • value - Text or object to display as a value

Footer content

footerContent

Object that defines how to display label values in the footer.

Selected

selected

Selection state of the card.

Content item min width

contentItemMinWidth

Minimum width of a line of content items. Content items past this point wrap to a new line. The default value is 300.

ARIA properties

configAria

Object to set the ARIA properties for the specified HTML element within the button. The value of each key is an object that contains an ARIA property (or properties) and corresponding values. These ARIA properties are set on a specified element.

## Template card component events

Select event handlers to configure the actions (events) provided with the Template card component.

The Events tab shows the events used by the Template card 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 Template card 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 descriptions

Event Description
Template card assist selected set Dispatched when a user clicks the card body.
Search documentation
Search document titles and file paths on the brazil branch