Skip to content

Avatar

Avatars represent a user or entity. When src is missing or the image fails to load, the fallback initials are shown instead.

AMJane DoeRK
Prop Type Default Description
alt string Alt text for the image (required).
fallback string Initials shown when the image is absent (required).
src string Image source URL.
size 'sm' | 'md' | 'lg' 'md' Avatar diameter.

All native <span> attributes are also accepted.