Skip to Content

AvatarGroup

Stacks child Avatars with overlap. max limits how many are shown before a “+N” bubble; size applies to all children.

ALATGH
import { Avatar, AvatarGroup } from '@gg-software/ui'; <AvatarGroup max={3} size="md"> <Avatar name="Ada Lovelace" /> <Avatar name="Alan Turing" /> <Avatar name="Grace Hopper" /> <Avatar name="Linus Torvalds" /> <Avatar name="Margaret Hamilton" /> </AvatarGroup>;

Props

PropTypeDefaultDescription
children*ReactNodecontent rendered inside the component
maxnumbershow at most this many avatars, then a "+N" bubble
size"sm" | "md" | "lg" | "xl"size applied to all avatars in the group
classNamestring

* required · generated from packages/ui/src/display/Avatar/AvatarGroup.tsx