Avatar

A person, a place, or a workspace, in a circle. Initials when there's no photo. Five sizes from 20 to 56 px.

Stable .avatar Initials by default5 sizes

Sizes

Five sizes. 28 is the default row size, 32 sits in topbars, 40 in detail headers.

FM FM FM FM FM FM
XS · SM · MD · LG · XL · 2XL20 24 28 32 40 56

Group

Overlapping circles for "many people". Cap at four; overflow becomes a +N tile.

FM
AC
SN
+4
7 on shift
Overlapping group+ overflow tile

With identity

The canonical row-leading pattern. 32 px avatar + name + sub.

FM
Faith Moyo
Cashier · Till 02
AC
Alex Chiwanza
Cashier · Till 01
SK
Stanford Kuda
Plant manager · Mazowe

Workspace

A square-rounded avatar for workspaces and organisations. Slightly bigger inside the org switcher.

Mukamba Group
5 sites
Workspace avatar6px radius

Anatomy

PropertyValueNotes
shapecircle for peoplerounded-square for workspaces
initialsFirst letter of first + lastTwo characters max
font-weight600Tabular at all sizes
backgroundTonal soft colorHashed to a tone if not given

Do & don't

Do

Use initials when there is no photo. Hash to a stable tonal colour per person.

Don't

Use random colours each render. The same person should always look the same.

Do

Keep avatars 28+ px when paired with a name; 24 only inside a tag.

Don't

Use generic silhouette placeholders. Initials are warmer.

Code

<span class="avatar">FM</span>