Atelier UI

Search components…

Search components…

Avatar Group

Overlapping avatar stack with deterministic name-hashed colors, +N overflow chip, sizes and presence status dots.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

AvatarProps

Also accepts all props of React.ComponentProps<"span">

PropTypeDefaultDescription
name* requiredstring——
sizeAvatarSize"md"—
statusAvatarStatus——

AvatarGroupProps

Also accepts all props of React.ComponentProps<"div">

PropTypeDefaultDescription
users* requiredAvatarUser[]——
maxnumber4Maximum avatars shown before collapsing into a "+N" chip
sizeAvatarSize"md"—

Install

$ npx shadcn@latest add https://chromotion.dev/r/avatar-group.json

More like this