This component extends the native <div>arrow-up-right API.
<div>
children
ReactElement
β
visibleUsers
number
β
overcountText
string
You can pass multiple Avatar components as children. Keep in mind that only the first 10 will be rendered.
Avatar
You can use the AvatarGroup.Avatar subcomponent so you don't need to install it or import it.
AvatarGroup.Avatar
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.
String shown when the visibleUsers amount is surpassed.
Live Demo
Code Sandboxarrow-up-right
Last updated 1 year ago