Code

API

This component extends the native <div>arrow-up-right API.

Props
Type
Required

children

ReactElement

βœ…

visibleUsers

number

❌

overcountText

string

❌

chevron-rightchildrenhashtag

You can pass multiple Avatar components as children. Keep in mind that only the first 10 will be rendered.

circle-info

You can use the AvatarGroup.Avatar subcomponent so you don't need to install it or import it.

chevron-rightvisibleUsershashtag

Controls how many avatars you want to show, the rest will appear as a tooltip. The maximum amount of avatars that will be shown is 10.

chevron-rightoverCountTexthashtag

String shown when the visibleUsers amount is surpassed.

Example

Last updated