image
AvatarImageProps
The image property sets the value of the image and the alt text.
Simple avatar usage. By default this usage renders a <div>
.
TLJ
<Avatarimage={{alt: 'Alternative text',src: 'https://picsum.photos/id/1052/60/60'}}initials="TLJ"/>
If no avatar image is available, show the user's intials as a fallback.
TLJ
<Avatar initials="TLJ" />
image
AvatarImageProps
The image property sets the value of the image and the alt text.
initials
string
The initials property sets the value of the initials.
atoms
Applies permitted design system styles. See styling documentation for more.