Skip to content
PixiKit

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
NameTypeDefaultDescription
srcstringNoneThe picture's address.
namestring""The person's name: the picture's alt text, and the initials shown when there is no picture.
sizenumber40The 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.
pulsebooleanfalseMakes the online dot breathe.
classNamestringNone

More media components in Pro

View all

Related