Avatar
A picture that falls back to initials on a tint picked from the name, with a presence dot.
pixikit.com/docs/components/avatar
Customize
Size40px
Shape
Status
Status position
Pulse
Props
8| Name | Type | Default | Description |
|---|---|---|---|
src | string | None | The picture's address. |
name | string | "" | The person's name: the picture's alt text, and the initials shown when there is no picture. |
size | number | 40 | The width and height in px. |
shape | "circle" | "rounded" | "circle" | `circle` or a `rounded` square. |
status | "none" | "online" | "away" | "busy" | "offline" | "none" | A small dot for presence. |
statusPosition | "top" | "bottom" | "bottom" | Which corner the dot sits in. |
pulse | boolean | false | Makes the online dot breathe. |
className | string | None |