Reference
Avatar
Avatar, dressed in the paper-and-ink system: a circular seal on inset paper that holds initials until the image loads over them. `size` picks a control-height rung for the seal — the core styles re-point `--bs-avatar-size` per rung, and scenes can still retune the variable directly.
Root · Image · Fallback
#Fallback
A styled part — no props of its own; it takes the anatomy's shared styling.
#Image
A styled part — no props of its own; it takes the anatomy's shared styling.
#Root
| Prop | Type | Default | Description |
|---|---|---|---|
size | String as PropType<AvatarSize> | "md" | Seal diameter: one rung of the control-height ladder — the default is the md rung, level with the other control families, so an avatar rides a row without stretching it. |
shape | String as PropType<"circle" | "square"> | "circle" | The corner: round by default; square cuts it sharp, a stamp beside a round portrait. |
id | string | The unique identifier of the machine. | |
ids | Partial<{ root: string; image: string; fallback: string; }> | The ids of the elements in the avatar. Useful for composition. |
| Event | Payload |
|---|---|
statusChange | details: StatusChangeDetails |