Search

Search components and blocks

Sign in

Avatar

A stack of overlapping avatars with a staggered entrance animation and a fan-out hover effect. Falls back to initials on soft radial-gradient profile orbs when no image is set.

pnpm dlx shadcn@latest add @ditherui/avatar-stack
AC
MR
PN
+2

Install

$ pnpm dlx shadcn@latest add @ditherui/avatar-stack

Props

itemsAvatarStackItem[]—
maxnumber3
classNamestring—

When to use the avatar

Use avatars to show people or owners, alone or stacked. The stack enters with a stagger and fans out on hover.

  • Open the CLI tab on any preview above for the exact shadcn command. The source is copied into your project, so you can edit it like any other file.

Suggested components