<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5HGSQD2L" height="0" width="0" style="display:none;visibility:hidden" title="GTM"></iframe>

Avatar

A graphical representation of a user's profile image to visually identify them in different contexts.
styleKey: avatar

Use Avatar...

  • To display a graphical representation of a user.

Don't use Avatar...

  • To display anything other than a user’s profile picture, e.g. a thumbnail, an image preview, an icon

The preview has been updated.

Size

Use size="small" to reduce the size of the Avatar.

The preview has been updated.

Alt text

The Avatar image needs an alt attribute of some kind. Refer to Alt Text guidelines.

Props

Avatar
See core props for additional props that can be applied to this component.
proptyperequireddefaultdeprecation notes
size
The size variation
"standard""small"⚠️ "mini"null
false
standard
Deprecated values:
  • mini: Use small instead.
src
URL of the avatar image
stringnull
false
null
alt
A label to use to describe the avatar to assistive devices.
stringnull
false
null