Rebar UI

1.0

synthetic

AvatarGroup

A stacked, overlapping row of avatars with a "+N" overflow.

Project teamFour people, two shown and the rest folded into +2
MCJW+2
One person
MC
All shown
MCJWPNLS
Small
MCJWPN+1
Large
MCJWPN+1

In context

Project cardsWho is on each project
Harbour rebrand

Led by Maya Chen

MCJW
On track
Tideline mobile

Led by Jonas Weber

MCJWPN
Review
Crew interviews

Led by Priya Nair

MCJWPNLS
Late

Props

PropTypeRequiredDefault
avatarsAvatarGroupItem[]Yes—
maxnumber | undefinedNo5
sizenumber | "sm" | "md" | "lg" | "xl" | undefinedNo—
classNamestring | undefinedNo—

Overflow

Renders real Avatars with negative-margin overlap. Anything past max (default 5) collapses into one overflow Avatar whose fallback is "+N".

data-rebar-* attributes

data-rebar-component="avatar-group" on the root; each item is a real Avatar with its own attributes.

Migrating to Ant Design

AntD's Avatar.Group is a close direct equivalent: avatars / max map to children / maxCount.