Contact card component setup

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

The Contact card component provides information about customers who have contacted the contact center for help​.

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 Contact card 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.

    [Omitted image "contact-card-content-tree.png"] Alt text: Contact card component with label displayed in the content tree.

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

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

Contact card component properties

Configure the content of your Contact card with these properties.

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

Label [property]

Description

Avatar URL[avatarSrc]

Location of the user image to display in the avatar. Leaving this empty displays the initials of the customer.​

Heading name[headingName]

The display name of the contact.

Heading level​[headingLevel]

Maximum number of lines to display the heading name and badges. This is useful when the card width needs to be narrow.​ This HTML heading element number can be one of [1, 2, 3, 4, 5, 6].

Heading badges​[headingBadges]

Critical information about the customer that is displayed with different background colors. ​

Subheading titles​[subHeadingTitles]

Titles to show for the contact. Supports multiple titles.

Subheading badges​[subHeadingBadges]

Critical information about the customer that needs to be displayed with different background colors alongside the sub-header.​ Supports multiple badges.

Contact fields[content]

List of fields for all information about the customer that would be useful to the agent to reference to get to know the customer associated to the case or interaction.

Hide border​[hideBorder]

Boolean value indicating whether to show or hide the border around the card.​

ARIA label[ariaLabel]

Forces screen readers to read this label before beginning to read the text inside the card.

## Contact card component events

Select an event handler to configure the action (event) provided with the Contact card component.

The Events tab shows the events used by the Contact 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 Contact 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
Item clicked Dispatched when the user clicks a clickable item on the card.
Search documentation
Search document titles and file paths on the brazil branch