UI Component Lab 日本語

← All components

Data display

Avatar

A small picture, initial, or icon that stands for a person or account.

Demo

  • Aiko Tanaka
  • Ben Carter
  • Chen Wei
  • and 2 more

How to recognize it

A circle (sometimes a rounded square) with a photo or a colored background and an initial. Several can overlap in a row with a “+N” at the end.

Behavior

  • When there is no photo, or it fails to load, it falls back to an initial or a generic icon.
  • If the person’s name is already next to it, the avatar is decorative; otherwise it needs the name as alternative text.
  • In this demo the initials are hidden from screen readers and each full name is read instead.

Keyboard

KeyAction
—None. An avatar that opens a profile is a link or button and follows its keys.

Sources