<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.
styleKeys: 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="mini" 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.
proptyperequireddefault
size
The size variation `mini` is deprecated, use `small` instead
"standard" | "small" | "mini" | nullfalse
standard
src
URL of the avatar image
string | nullfalse
null
alt
A label to use to describe the avatar to assistive devices.
string | nullfalse
null