Skip to content

Avatar

Avatars represent users or entities with images or initials. Common in SaaS dashboards for team members, assignees, and profile menus.

VariantDescription
ImageUser photo, fallback to initials
InitialsGenerated from name (e.g., “KN” for Kien Nguyen)
IconGeneric user icon for unknown users
SizeDimensionsUse
xs24pxTable cells, inline
sm32pxLists, comments
md40pxNavbar, cards
lg56pxProfile header
xl80pxSettings, large displays

Stack multiple avatars with overlap for team displays:

  • Max visible: 4–5 avatars
  • Overflow: “+N” indicator for remaining
  • Hover: Full avatar list in tooltip
  • Consistent fallback — generate consistent colors from name hash
  • Alt text — always provide accessible name
  • Lazy load — defer image loading for long lists