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


---

# Avatar component setup

# Avatar component setup {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read  
The Avatar component provide a graphic representation of an identity, displayed as an image, text, or anonymous icon. You can associate an avatar to an identity. For example, you can add
a user's avatar to a card to associate that card with the user it is assigned to.

## 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 Avatar that differentiates it from other components in the [Customize UI 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.") .  
   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.") . For instructions on using the content tree, see see [Customize UI 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.") .
2. Select the Avatar component, using one of these methods:
   * Click anywhere within the component.
   * Select the Avatar label you created for your component in the content tree.

   {#avatar-component-uib-setup__choices_dj4_5ry_znb}  
   The property fields appear in the Config tab in the setup panel on the right.
{#avatar-component-uib-setup__steps_cj4_5ry_znb}

## Avatar component properties {#ariaid-title2}

The Avatar component can be associated with an identity and represents a user by their initials, a profile image, or an anonymous icon. This component has been added to the UIB component
drawer so it can be dragged onto the stage when you're building a page.
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://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.") .
{#avatar-config-properties__choices_4jq_bp0_csl}
{#avatar-config-properties__table_tsr_g5y_znb__entry__2}

| Label \[property\] | Description |
|-|-|
| Size \[size\] | ​Size of the avatar: extra small, small, medium, large, or extra large |
| User name​ \[userName\] | Name of user. If no imageSrc is provided, initials of first two names in string appear in avatar. Name is also read aloud to screen reader users. If no name is provided, screen reader announces avatar user as "unknown user." |
| Presence \[presence\] | ​Presence icon to show the online status of a user that always appears in the lower right of the avatar |
| Show presence pattern \[showPresencePattern\] ​ | Enables a visual pattern enabled on presence icon for accessibility. |
| Image source \[imageSrc\] ​ | Location of user image to display in the avatar. |
| Interaction \[interaction\] | Defines the interaction behavior of the avatar. Available options include: * `None` * `Button` * `Link` {#avatar-config-properties__ul_ytc_wpf_bdc} |
| ARIA properties \[configAria\] | A JSON field for configuring ARIA properties, such as aria-braillelabel. |
| Tooltip text \[tooltipContent\] | Content to display in a tooltip for the avatar. This text appears when hovering on the avatar. |
| Hide tooltip​ \[hideTooltip\] | Suppresses tooltip when hovering on user name. |
[ ]

{#avatar-config-properties__table_tsr_g5y_znb}

## Avatar component events {#ariaid-title3}

The Avatar component doesn't have configurable events.

