v0.1 public beta early access on GitHub
Home / Components / avatar-group

Avatar GroupiOS

Overlapping avatar stack with a border ring per avatar, staggered pop-in, and a tappable "+N" overflow bubble

$ npx lumioui add avatar-group
import { AvatarGroup } from "@/components/ui/avatar-group/avatar-group";
Props8
items AvatarGroupItem[]
max? number Max avatars rendered before the "+N" overflow bubble. Default 4.
size? "sm" | "md" | "lg" Avatar size. Default "md".
onItemPress? (item: AvatarGroupItem, index: number) => void Fired when an avatar is tapped — makes avatars pressable.
onOverflowPress? (items: AvatarGroupItem[]) => void Makes the "+N" bubble tappable (open the full roster).
animate? boolean Staggered pop-in on mount. Default true.
haptic? "light" | "selection" | false Haptic on taps. Default "light".
className? string
Avatar Group — Overflowoverflow.tsx
avatar-group/variants/overflow.tsx open

Overlapping avatar stack with a border ring per avatar, staggered pop-in, and a tappable "+N" overflow bubble

Avatar Group — Sizessizes.tsx
avatar-group/variants/sizes.tsx open

Overlapping avatar stack with a border ring per avatar, staggered pop-in, and a tappable "+N" overflow bubble