Avatar
Represents a person or entity as a photo, a person icon, or initials, sized sm through xl, shaped as a circle or a square, with an optional 1pt border.
Overview
Represents a person or entity as a photo, a person icon, or initials, sized sm through xl, shaped as a circle or a square, with an optional 1pt border.
Variants and states
| sm | md | lg | xl | |
|---|---|---|---|---|
| image | ||||
| icon | ||||
| initials | MW | MW | MW | MW |
Anatomy
- 1Container required
- 2Content required The type-specific content: a photo (Image), a person glyph (Icon), or initials (Initials). The three types are shown in the Variants matrix.
- 3AvatarBorder optional Optional 1pt ring in the surface color, shown when hasBorder is true; reads mainly where avatars overlap or sit on a colored backdrop.
Measurements
Specs
Values resolved live from the token spine. Token names follow the active platform; each links to its page.
Properties
The component’s Figma API, the properties you set on an instance. Useful to designers in Figma and to engineers mapping it to code props.
Accessibility
Give the avatar an accessible name (the person or entity it represents), or mark it decorative when that name already appears beside it, so screen readers do not announce a redundant or empty image.
Reference: Apple Human Interface Guidelines and WCAG 2.5.5 Target Size.
