The AvatarGroup component helps visually group multiple avatars in a compact and meaningful layout, often representing users in a shared context.

AvatarGroup Implementation Variants

Basic AvatarGroup

Display a horizontal group of avatars with default overlap.

User 3
User 2
User 1

Max Avatars

Limit the number of visible avatars using the max prop.

+2
User 2
User 1

Custom Spacing

Control the spacing between avatars.

Shape Variants

Mix avatar shape variants like square and rounded.

Total Avatars

You can indicate the total number of avatars using the total prop, even if not all are rendered.

+4

Custom Surplus Renderer

Customize the overflow display using the renderSurplus prop for more control over surplus appearance.

+4k