Avatar

Who: a person or an organization, as their picture or their initials on a colour of their own.

People and organizations

Round for people, square for organizations, so the two never look alike.

Henrik Aasen Silje Hadler-Jacobsen Ola Nordmann Kari Berg Jonas Lie
Vestland Marin AS Bergen kommune Statsforvalteren i Vestland Skanska
<Avatar name={user.name} src={user.picture} colorKey={user.id} />
<Avatar name={org.name} kind="organization" size="lg" />
<AvatarGroup people={mission.crew} max={4} />

Sizes

xs
sm
md
lg
xl

Group

A crew, the people with access. Up to four, then +n.

Picture

When the picture fails to load, the initials take its place.

Rules

  • People are round, organizations square, everywhere.
  • The colour follows the person: give colorKey their id, so it survives a change of name and is the same on every page.
  • Next to the name, no tooltip. Standing alone (a crew row, a table cell), the tooltip carries the name.
  • md (32px) in lists and tables, sm in dense rows and groups, lg and xl on a profile or an organization’s page.
  • A group shows up to four, then +n, with the rest in its tooltip.