Avatar Cluster

Avatars fly in from scattered positions, blurred and oversized, and spring into a ring around a centre avatar. The ring keeps turning slowly while every face stays upright. Press Replay to watch it again.

avatarsspringstaggerloop
Preview

Installation

Copy the install prompt

Paste it into Claude Code, Cursor or any coding agent inside your project. It includes the steps, a usage example and the full source.

Usage

Example
import { AvatarCluster } from "./components/AvatarCluster";

export function Team() {
  // The first image is the centre; the rest form the ring.
  // Change the key to replay the entrance.
  return (
    <AvatarCluster
      images={["/team/you.jpg", "/team/a.jpg", "/team/b.jpg", "/team/c.jpg", "/team/d.jpg", "/team/e.jpg", "/team/f.jpg"]}
      outline="#fff" // match your background
    />
  );
}

// Or show a count in the centre instead:
// <AvatarCluster images={faces}>+2,140</AvatarCluster>