Avatar
Represents a person or an organisation with a photo, initials or an icon.
01Anatomy
5 parts. Select a number or a name to see what each part does.
01 · Container
The shape: a circle for people, often a rounded square for teams and companies.
- Required
- Yes
- Recommended
- A few fixed sizes from the system scale, like 24, 32, 40, 64.
02 · Image
The photo, cropped to fill the shape.
- Required
- Only in some cases
- When
- When there is one. Otherwise initials, then an icon.
03 · Initials
One or two letters when there is no photo.
- Required
- Only in some cases
- Recommended
- The background colour comes from the name, so the same person always has the same colour. Check the contrast of the letters.
Shares its area with Image.
04 · Fallback icon
A generic person when there is neither a photo nor a name.
- Required
- Only in some cases
Shares its area with Image.
05 · Status indicator
A dot on the edge: online, busy, away.
- Required
- No
- Recommended
- Never colour alone: say the status in the accessible name or in a tooltip.
Example spacing, measured on this drawing (16 px = 1 em). A common implementation, not a rule: values change from system to system. W and H are width and height, as in Figma: Hug follows the content, Fill takes the space of the parent.
Spacing is measured on the normal view: switch back to Normal to show it.
02Structure
- Avatarcomponent setW = Hradius fullclip content
- Imagerectangleimage fillfill
- Initialstextcenterboolean
- Iconinstanceboolean
- Statusellipseabsolutebottom rightboolean
| Property | Type | Values |
|---|---|---|
| Type | Variant | ImageInitialsIcon |
| Size | Variant | 24324064 |
| Status | Variant | NoneOnlineBusyAway |
| Initials | Text | “AR” |
Turn on Clip content and use an image fill on a rectangle: the photo crops itself at every size. The Status dot is absolute, so it doesn’t push the layout.
03Variants
An avatar alone isn’t clickable. When it opens a profile or a menu, it sits inside a link or a button, which brings states and focus.
There is no single correct anatomy: names, variants and properties differ from one design system to another. These are common structural models distilled from established design systems and accessibility guidance.
Proven methods for designing interfaces with AI. Every two weeks, in Italian.
Subscribe