avatargroup

users
Required
shape[ ]
Array of user objects to display as avatars
className
Not required
string
Additional CSS classes to apply to the container
maxDisplay
Not required
number
Maximum number of avatars to display before showing count

Display a group of user avatars with overlap for a compact view.

Examples

Basic Usage

Display a group of users with their avatars overlapping.

Limiting Display Count

Use maxDisplay to show only a certain number of avatars with a count indicator for the rest.

With Image URLs

Mix users with and without avatar images. Users without images will show their initials.

Active and Inactive Users

Show active and inactive users in the group by setting the active property.