Avatar
An avatar is a person's photo, or their initials on their own gradient, in a circle beside their name, so you see at a glance who moved a candidate or left a comment. Teams and companies take the same circle with a small mark in the corner.
What it is
Show the photo the person uploaded. Without one, show their initials on a gradient picked from their name, so a person keeps the same color on every screen.
With the name and one line in a lighter ink, such as a role, the avatar makes a person row.
- Anita GurungCare assistant, candidate
- Ana HorvatRecruiter
- Zagreb recruiting teamTeam
- Werklist ZagrebCompany
When to use it
Put an avatar beside a name wherever people act: comments, assignees, chat, the activity history, the notification center, the people column of a board.
Leave the name out only where the row is too narrow for it, and then give the avatar the name in a tooltip and for screen readers. Keep avatars off the notification cards that pop up and off empty states, where a word says more.
Anatomy
- Shape
- circle
- --radius-full
- Photo
- covers the disc, centered, with no edge
- Initials
- first letters of the first and last name, two at most
- Fill without a photo
- one of 8 gradients, picked from the name, light at the top left, deep at the bottom right
- Initials color
- white
- --on-brand
- Team or company mark
- 12 px disc at 24 px, 14 px disc at 32 px
- --surface-strong
- No name at all
- a person icon on a gray disc
- --surface-control
Sizes
32px is the default. Use 24 px in board cells and stacks, 40 px in the header of a person's panel and 56 px on a profile.
- 24 px
- initials 10 px
- 32 px, the default
- initials 12 px
- 40 px
- initials 13 px
- 56 px
- initials 18 px
- Weight of the initials
- 700
Stacks
Show up to 4 faces, each overlapping the next by 6 px, then a disc with the count of the rest, such as +3. The faces stand bare and the count disc keeps a 2 px ring. Hover or focus on the stack opens a card with everyone on it.
- Faces shown
- 4
- Overlap
- 6 px
- Ring on the faces
- none
- Count disc
- 10 px, weight 700, tabular digits
- --surface-control
- Ring on the count
- 2 px
- --surface-strong
- Card
- 240 px wide, 12 px corners, 8 px inside
- --surface-1
States and behavior
An avatar that opens a profile is a button. Hover shows the name in a tooltip, keyboard focus draws the focus ring, and on a touch screen the target grows to 44 px while the drawing stays the same.
While a photo loads, the initials show. If it fails, they stay.
At rest Pointer on it Keyboard focus
- Tooltip
- the name, after 500 ms of hover
- Focus ring
- 2 px, offset 2 px
- --focus-ring
- Touch target
- 44 px
Accessibility
When the name is written beside the avatar, hide the avatar from screen readers so the name is read once. When the avatar stands alone, it carries the name: the photo's alt text, or a label on the initials.
A stack names the faces it shows and counts the rest in the label of its button, for example Assigned to Ana Horvat, Rajesh Kumar, Maria Santos, Luka Perić and 3 others.
The name is always written or announced. Initials never stand alone.
Permitted and not permitted
Permitted
The name beside the avatar
The name says who it is. The face helps the eye find them again.
Initials on the person's gradient
Picked from the name, the same on every screen.
Not permitted
Initials as the only label
Two people can share initials. Write or announce the name.
A ring or an edge on a face
Faces stand bare. Only the count of a stack has a ring.
Avatars on notification cards that pop up
A label names the event and the card stays quiet.