Skip to Content
✨ QuickCode UI keeps growing! More components, more features, and more ways to make your projects shine. Stay tuned & maybe… hire me or sponsor me 😉 
DocumentationAvatarGroup

AvatarGroup

Display multiple user avatars in an overlapping stack with an overflow counter.

Install Dependencies

npx
quickcode-ui add AvatarGroup

Examples

Default Avatar Group

SC
MC
EW
DB
+2
SCMCEW+3

Props

AvatarGroup

PropTypeDefaultDescription
avatarsAvatarData[]requiredArray of avatar data objects
maxnumber4Maximum number of avatars to display
size"xs" | "sm" | "md" | "lg" | "xl""md"Size of all avatars in the group
classNamestringundefinedAdditional CSS classes
showTooltipbooleanfalseWhether to show tooltips on hover

AvatarData

PropTypeDefaultDescription
srcstringundefinedImage source URL (optional)
altstringrequiredAlternative text for the image
fallbackstringrequiredFallback initials or text
tooltipContentstringundefinedContent to display in tooltip
Last updated on