Avatar Component
Display user profile image, initials or fallback icon
Properties
Name | Type | Default | Description |
---|---|---|---|
label | string | undefined | A label to use to describe the avatar to assistive devices. |
alt | string | undefined | The alternative text description of the avatar image, used for accessibility. |
image | string | undefined | The image source to use for the avatar. |
loading | 'eager' | 'lazy' | 'eager' | Indicates how the browser should load the image. |
size | 'xs' | 'sm' | 'md' | 'lg' | 'xlg' | 'xxlg' | 'md' | The size of the avatar. |
Slots
Name | Description |
---|---|
default | The default slot to use when image is not present. |