Avatar stack

Avatar stack displays two or more avatars in an inline stack.

A diagram of three avatars stacked next to each other.


Stacked avatars can be used to show multiple collaborators or participants when there is limited space available. When you hover over the stack, the avatars will reveal themselves.

Best practices

  • Use AvatarStack when space is limited
  • Don’t use AvatarStack if there is adequate space to show 4 avatars or less.


Avatar stack displays a minimum of 2 avatars and a maximum of 4 avatars. Only the 20px avatar size is currently used in the avatar stack.



The default avatar stack is left-aligned. You can right-align the component for layouts that are better suited for it.


Known accessibility issues (GitHub staff only)

View open accessibility issues related to this component