DATA DISPLAY
Avatar
User avatar with image + initial fallback. Built on Radix Avatar — when the image fails to load (or while loading), the fallback is shown instead.
Import
Image + fallback
DM
Sizes
SMLXL
Square shape
SQ
AvatarGroup with overflow
Stack multiple avatars; max caps the visible count and renders a +N bubble for the rest.
A
B
C
+2
Props
Avatar props
| Prop | Type | Default | Description |
|---|---|---|---|
| size | 'sm' | 'md' | 'lg' | 'xl' | 'md' | 8/10/14/20 pixel diameter respectively. |
| shape | 'circle' | 'square' | 'circle' | square adds a 2px Memphis border and removes the rounding. |
| children | ReactNode | — | Compose with AvatarImage and AvatarFallback. |
Accessibility
- Always pass
altonAvatarImage— for decorative avatars an empty string is acceptable; otherwise describe the user. - The fallback is purely visual — the
alttext on the image (when present) carries the accessible name.