Home > @uniformdev/design-system > AvatarGroupProps > max

AvatarGroupProps.max property

The maximum number of avatars to show. This must be 2 or more. If this value is smaller than the number of children, the other avatars will be truncated and shows as "+N" Note that when truncation occurs, the truncation "+N" avatar _counts as one_ towards the max. For example with avatars A B C D, and max 3, the rendered avatars will be (A) (B) (+2). 5

Signature: