Avatar
Live preview and documentation for the Avatar component.
Preview
componentPreview.loading
About
A user avatar: photo, initials, icon, decorative gradient, or a custom widget.
size:small(40),medium(54, default), orlarge(70);diameteroverrides the numeric value- Content, in priority order:
customChild>image>backgroundGradient(with optional initials) >initials> fallback icon (iconor a default person icon) tone:blue(default),neutral,green,orange,red— color of the fallback text/iconfallbackSurface:default_(solid neutral background) orsoft(background tinted with the tone's color)shape:circle(default) orroundedSquareshowStoryRing+storyRingGradient: a gradient ring around the avatar ("story" style)status:onlinedraws a presence indicator in the bottom corneronTap+semanticLabel: makes the avatar tappable with press feedbackKasyAvatar.gradientFill(...): shortcut for a fill that's only the decorative gradient
KasyAvatarGroup stacks multiple avatars with a separation ring, a "+N" counter, and an optional add button (onAdd).
Last updated on 08/23/2026

