Avatar

PropertyTypeDescription
alt
stringAlternative text for the image.
size
AvatarSizeThe size of the avatar.
One of:
30, 36, 40, 50, 64, 80, 96, 300
borderRadius?
BorderRadiusThe border radius of the avatar.
One of:
Large, Medium, None, Rounded, Small
onError?
React.EventHandlerEvent handler emitted if the image fails to load.
onLoad?
React.EventHandlerEvent handler emitted when the image loads.
presenceIndicator?
booleanShow or hide the presence indicator.
presenceStatus?
PresenceStatusStatus of the channel represented.
One of:
Away, Busy, Invisible, Offline, Online
sizes?
The intended display size of the image at various breakpoints. Accepts an array of objects that contain a size, and optionally a mediaCondition.
src?
stringThe source of the avatar image.
srcSet?
CoreSrcSetA configuration object for responsive image display. Accepts an object with valid descriptors for keys and image urls for values.