Anatomy

  1. Shape: a circle for a person, a rounded square (radius-sm) for a team.
  2. Fill: the person's one style (see Variants).
  3. Initial: one letter in the voice face, Roboto Serif.
  4. Ring, in stacks only: 2px of the ground colour around each avatar, set by --k-ring (paper by default).
  5. Persona text: the name (k-persona__name) and a meta line (k-persona__meta).

Measurements

From the design’s stylesheet, each design token with the value kanso-ui gives it in light.

ClassPropertyValue
k-avatarwidth36px (size-avatar-md)
height36px (size-avatar-md)
border-radius50%
font400 15px/1 font-voice
k-avatar--smwidth28px (size-avatar-sm)
height28px (size-avatar-sm)
font-size13px
k-avatar--lgwidth56px (size-avatar-lg)
height56px (size-avatar-lg)
font-size22px
k-avatar--groupborder-radius8px (radius-sm)

Tokens used

Design tokenIn kanso-uiLightDark
ink--kui-color-ink#1a1a1a#ececec
on-ink--kui-color-on-ink#fafafa#121212
container--kui-color-container#e9e9e9#2b2b2b
accent-soft--kui-color-accent-soft#e9e9e9#2b2b2b
on-accent-soft--kui-color-on-accent-soft#1a1a1a#ececec
ink-muted--kui-color-ink-muted#5c5c5c#b3b3b3
paper--kui-color-paper#fafafa#121212
surface--kui-color-kanso-surface#ffffff#1c1c1c
size-avatar-sm--kui-sizing-kanso-avatar-sm28px28px
size-avatar-md--kui-sizing-kanso-avatar-md36px36px
size-avatar-lg--kui-sizing-kanso-avatar-lg56px56px
radius-sm--kui-radius-kanso-sm8px8px
space-md--kui-spacing-kanso-md12px12px
font-voice--kui-typography-font-family-voice'Roboto Serif', 'Iowan Old Style', Georgia, serif'Roboto Serif', 'Iowan Old Style', Georgia, serif
font-plain--kui-typography-font-family-plain'Roboto Flex', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif'Roboto Flex', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif