Avatar

Avatar is an image that represents a user or organization.

Use Avatars to represent users, organizations, bots, or teams. On GitHub, Avatars are either rounded squares or circles.

React examples

Default

Mona user avatar

Custom size

Avatars start at 16px and increment by base-4 until 32px. At 32px, the scale switches to base-8 up to 48px. 64px is the largest size in this scale.

Mona user avatar

Square shape

Avatars appear as two different shapes, each with their own functional purpose.

  • Circle Avatars represent individual people.
  • Square Avatars represent non-human entities, such as bots, teams, or organizations

Shape guidelines

Mona user avatar

More code examples

See the Avatar Storybook stories.

Props

Loading data for avatar...