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>.
<UnknownElementTypeimage={{alt: 'Alternative text',src: 'https://picsum.photos/id/1052/120/120'}}initials="TLJ"/>
If no avatar image is available, show the user's initials as a fallback.
TLJ
<UnknownElementType initials="TLJ" />
Ensures a transparent background if the image used has rounded corners and transparency.
<UnknownElementTypeimage={{alt: 'Alternative text',src: '/design-system/docs/images/rounded-avatar.webp'}}initials="TLJ"/>