Components
BaseAvatarUser
A user avatar with the photo or the initials of the name.
components/ui/BaseAvatarUser.vue
View in the demo
Example
AJ
DL
GI
MG
API
It also accepts every prop, slot and event of v-avatar, which it passes through.
Props
Name | Type | Default | Description |
|---|---|---|---|
image-url | string | — | The photo. |
fullname | string | — | The name, used for the initials and the alt text. |
initials | string | — | Fixed initials instead of computing them. |
color | string | "on-surface" | The colour behind the initials. |
Avatars are rounded-lg squares, never circles.