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"initials
Section titled "initials"Initials to use as a fallback when no image is available.
initials: string | undefined