An avatar component is used as a representation of a user identity typically in a user profile.
- Slots
-
default— Renders an icon inside the default slot.
- CSS Parts
base— The base wrapper of the avatar.initials— The initials wrapper of the avatar.image— The image wrapper of the avatar.icon— The icon wrapper of the avatar.
Properties
Section titled "Properties"Alternative text for the image.
alt: string initials
Section titled "initials"Initials to use as a fallback when no image is available.
initials: string shape
Section titled "shape"The shape of the avatar.
shape: AvatarShape The image source to use.
src: string