Avatar

Circular representations of a person or entity — showing a photo, initials, or a placeholder icon.

Install

Examples

Sizes

Five sizes from xs (16px) to xl (96px). Match the size to the surrounding text and control density.

Behaviour & states

A fallback chain keeps the avatar meaningful: a src renders the photo; with no src, the first letter of alt; with neither, a placeholder icon. disabled dims the avatar.

Guidelines

Usage

profile pictures, comment threads, user lists, team members — anywhere a person needs a visual identity.

Do

  • Always pass alt with the person’s name — it becomes the accessible label.
  • Use the initials fallback for users who have no photo.
  • Keep the size consistent within a single list or row.

Don’t

  • Don’t make an avatar the only label for an interactive control — pair it with a name or tooltip.
  • Don’t line up many avatars by hand — use Avatar group.
  • Don’t rely on the placeholder icon to identify a specific person.

Accessibility

Properties

Related