Skip to Content
This package is deprecated. Check out the successor: Chunk UI Kit
DocsComponentsAvatarGroup

AvatarGroup

+1

Component API

AvatarGroup component props.

PropDefaultDescription
total0
number

Manually controls the count displayed in last Avatar.

limit
number

Amount of avatars to display. Surplus will be rendered as count in an extra (last) Avatar.

children
ReactNode

Avatars.

offsetMultiplier-0.3
number

Multiplier for the offset of Avatars. Controls the overlap.

className
string

Container className

surplusClassName
string

className of surplus displaying Avatar (counter).

renderSurplus
(surplusCount: number) => ReactNode

Custom render function for surplus displaying Avatar (counter).

Last updated on