Overlapping row of Avatars with a +N overflow disc — "who's here" at a glance.
Anatomy
◐◐◐ +38 ← up to `max` avatars, then a +N disc └┬┘ └┬┘ │ └ surface-bright disc, fg-muted, "+N" └ Avatars, -8px overlap, 2px surface-container ring
Props
| Prop | Type | Default | Notes | |
|---|---|---|---|---|
members | AvatarGroupMember[] | — | { name, seed?, hue?, you? }. Render order is the caller's concern — spec wants followed-by-you first. | |
max | number | 3 | Avatars shown before collapsing to +N. | |
size | "xs" | "sm"` | "xs" | Avatar diameter (xs 20 · sm 28 px). |
className | string | — | Merged via cn. |
Motion
None — inherits Avatar's static nature.
A11y
- · Group carries an
aria-labelcount ("41 people"); the+Ndisc isaria-hidden(it's a count glyph, already covered by the label). - · Ring is a
box-shadowring (no layout shift), so overlap stays pixel-stable.