Generic selectors

Exact matches only

Search in title

Search in content

Post Type Selectors

Avatar

An Avatar is a visual representation of a user, entity or object.

avatar
  • Overview
  • Specs
  • Guidelines

Component

An Avatar is a graphical representation or icon that symbolizes a user, character, or entity in a digital interface. Avatars play a crucial role in enhancing the user experience, adding a humanizing element to otherwise abstract interactions.

They allow users to personalize their profiles, express their identity, and establish a sense of ownership and presence within online communities, social networks, and collaborative platforms.

Avatar_anatomy
Avatar anatomy

A: Avatar Variation

B: More Variation

C: Group Variation

1: Avatar Stroke

2: Avatar Representation

3: Dropdown

Avatar_inside_topbar
Avatar applied in a topbar

Used for:

Top Bar

In order for the user to have access to personal data or settings, an Avatar is used as a trigger;

Data Grid

In Data Grids with values associated to different persons, it is possible to use the avatar variation cell;

List Item

When there is a Dropdown where the goal is to select a person, the list item component is a dedicated variation with an avatar;

Usermenu

When the Avatar is triggered in a topbar, the usermenu appears with the user’s personal data, his avatar and settings;

Don’t use for:

Impersonal transactions

For transactional or utilitarian interfaces where personalization is not a priority and users primarily engage in functional tasks, Avatars may be unnecessary and add unnecessary visual noise;

Anonymous interactions

In contexts where user anonymity is preferred or required, such as anonymous forums or confidential surveys, using Avatars could compromise user privacy and anonymity;

Limited user engagement

In interfaces with minimal user interaction or where users primarily consume content passively, without interacting with other users, using Avatars may not add significant value and could be considered superfluous;

Limited screen space

In interfaces with extremely limited screen space, such as mobile apps with small screens or narrow layouts, using Avatars may consume valuable space that could be better used for essential content or functionality.

Documents_Eyepeak
Documents view at Eyepeak

Demo

Access the Figma file and inspect the element using Dev Mode.

Demo_avatar
Avatar at Figma

Last Update

Previous_avatar
Previous version of the Avatar
Current_Avatar
Current version of the Avatar
  • Updated sizes variables;
  • Updated state color variables;

Related

topbar_dummy

Top Bar

The Top Bar is a top-anchored component that provides context for the screen and facilitates easy navigation through different flows …

Data Grid

Data Grids are used to efficiently organize information and make it easier for users to consult it …

Variations

Avatar

Avatar – User Icon

Enabled
.enabled {
  stroke-color: var(--grey-2);
  background-color: var(--grey-4);
  icon-color: var(--grey-8);
}
Hover
.hover {
  stroke-color: var(--grey-2);
  background-color: var(--grey-4);
  icon-color: var(--grey-8);
  shadow-avatar: var(--components-primary);
  tooltip-background: var(--grey-8);
  tooltip-text: var(--grey-1);
}
Focus
.focus {
  stroke-color: var(--grey-8);
  background-color: var(--grey-4);
  icon-color: var(--grey-8);
}
Pressed
.pressed {
  stroke-color: var(--grey-2);
  background-color: var(--grey-4);
  icon-color: var(--grey-8);
  shadow-avatar: var(--components-primary);
}

More

Enabled
.enabled {
  stroke-color: var(--grey-2);
  background-color: var(--grey-4);
  icon-color: var(--grey-8);
}
Hover
.hover {
  stroke-color: var(--grey-2);
  background-color: var(--grey-4);
  icon-color: var(--grey-8);
  shadow-avatar: var(--components-primary);
  dropdown-background: var(--grey-1);
  dropdown-stroke: var(--grey-5);
  dropdown-text: var(--grey-7);
}
Focus
.focus {
  stroke-color: var(--grey-8);
  background-color: var(--grey-4);
  icon-color: var(--grey-8);
}
Pressed
.pressed {
  stroke-color: var(--grey-2);
  background-color: var(--grey-4);
  icon-color: var(--grey-8);
  shadow-avatar: var(--components-primary);
}

Size

Small
.small {
  width: 16px;
  height: 16px;
  icon: 12px;
}
Regular
.regular {
  width: 24px;
  height: 24px;
  icon: 16px;
}
Medium
.medium {
  width: 32px;
  height: 32px;
  icon: 20px;
}
Large
.large {
  width: 48px;
  height: 48px;
  icon: 24px;
}
X-Large
.x-large {
  width: 64px;
  height: 64px;
  icon: 40px;
}

Useful links

guidelines figma accent icon

Consult our Figma file to access our assets and inspect them in dev mode.

polygon-framework

This component is or will be provided by the Polygon framework. See its documentation to learn more.

This element is in line with the guidelines of the CDS (Cegid Design System). Find out more.

Behavior

Group

You can specify a maximum number of Avatars per grouping as required. The name of each hidden avatar is shown on the hover of the numeric avatar via a tooltip. Clicking on the numeric avatar opens the list of hidden avatars via a modal.

More_Modal
Users in group modal

Dos & Dont’s

Avatars should be based on a circular shape;

Do not use more than two letters for the label;

Do not use lower case to represent the label;


Case Studies

Building a new Seamless User Experience

Using a design system is like having a set of building blocks for creating digital products. It ensures everything looks …

Discover the exciting features

Compose Design brings a host of thrilling and transformative new features designed to enhance your experience. Dive into our latest …

Benefits of a Design System

A design system is a collection of reusable components and guidelines that ensure consistency and efficiency in building digital products …

Outline