Avatar Stack

Overlapping avatars that lift on hover, with a +N counter.

Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.

AvatarStack props

PropTypeDefaultDescription
peopleAvatarPerson[]People to show, each with a name and optional image src.
maxnumber4Most avatars shown before "+N".
sizenumber44Avatar diameter in px.
classNamestringExtra classes added to the outer element.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks