wunder-ui

Avatar Stack

Component

About

A compact row of overlapping avatars for assignees or guests, with a "+N" avatar showing how many more there are past a limit.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Avatar Stack to your project and fits it to your theme.

Code

How Avatar Stack is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import AvatarStack from "@/components/ui/avatar-stack";

export default function AvatarStackDemo() {
  return (
    <div className="flex items-center justify-center w-full min-h-[200px] bg-background">
      <AvatarStack
        people={[
          { name: "Alina Lorenz" },
          { name: "Lucas Meyer" },
          { name: "Sarah Lindqvist" },
          { name: "Jonas Becker" },
          { name: "Mia Hoffmann" },
        ]}
        size="default"
      />
    </div>
  );
}

More by wunder-ui

View all
  • Popover

    Popover

    3
  • Timeline

    Timeline

  • Avatar

    Avatar

  • Empty State

    Empty State