Skip to main content
  1. Docs
  2. Components
  3. Data display

Avatar group

A few people at a glance, then +N. One image to a screen reader, named in full.

Import
@qeetrix/react/experimental
Status
ExperimentalSince 0.0.8
Renders
<span role="img">Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

When to use

Use it for
  • A group's members, in a row of a table.
  • Who uses an application, at a glance.
Not for

02

Anatomy

  1. 1avatar-group<span role="img">"412 people: Priya Sharma, Rahul Verma, Ananya Iyer and 409 more".
  2. 2avatar<span>The first max, a hairline apart, so initials stay whole.
  3. 3avatar-group-more<span>+N: the rest, aria-hidden.

03

Do and don't

One group, one image
DoOne AvatarGroup: one image, its name the whole list.
Don'tAvatars side by side: each read on its own, with no count.

04

Content

  • people in the order that matters: owners, or the most recent.
  • total is the real count: 412, not the length of the page.
  • For things, say what they are: "{count} applications: {names}".
Next — Avatar groupAPI