Alternative text for the image.
Initials to use as a fallback when no image is available.
The shape of the avatar.
Determines the size of the component.
--ig-size
CSS custom property instead.The image source to use.
Static
stylesStatic
Readonly
tagStatic
register
An avatar component is used as a representation of a user identity typically in a user profile.
Element
igc-avatar
Slot
Csspart
base - The base wrapper of the avatar.
Csspart
initials - The initials wrapper of the avatar.
Csspart
image - The image wrapper of the avatar.
Csspart
icon - The icon wrapper of the avatar.