Avatar
An image element with a fallback for representing the user.
Props
src
string
The image source.alt
string
The image alt text.size
number
The size of the avatar.fallbackDelayMs
number
Useful for delaying rendering so it only appears for those with slower connections.Fallback
The fallback automatically renders as part of <Avatar />
when the image fails to load.
You can also use it to generate unique avatars for when a user does not have an image at all.