SShinUI

Avatar Stack

Overlapping avatars with an overflow counter and a lift on hover. Falls back to initials when no image is supplied.

avatarpresencecollaboration
AL
GH
AT
KJ
+2

Usage

Drop the file into your project and import it. There is no package to install.

usage.tsx
import { AvatarStack } from "@/registry/components/avatar-stack";

export function Example() {
  return <AvatarStack />;
}

Install prerequisites

Every component here relies only on Tailwind and the cn helper from shadcn/ui.

terminal
npm i clsx tailwind-merge

More in Libraries