Back to library

misc

Avatar 9

Compact social proof with overlapping avatars and initials fallback. From Cnippet UI.

Inspired by Cnippet UI · View source

Preview

CHCHCHCH

Joined by 500+ developers.

Copy for AI

Copy for Lovable is the fastest way to move this component into another Lovable project — it copies the full prompt with dependencies, files, and a usage example. Copy all files gives you the raw source if you want to paste it manually.

Installation

npx shadcn@latest add @cnippet/v-avatar-9

Paste into a terminal — or paste into a Lovable chat and I'll run it for you.

Source files

components/ui/v-avatar-9.tsx
import {
  Avatar,
  AvatarFallback,
  AvatarImage,
} from "./avatar";
import { Frame, FramePanel } from "./frame";

export default function VAvatar9() {
  return (
    <Frame>
      <FramePanel className="flex items-center gap-2 p-2!">
        <div className="flex space-x-[-0.6rem]">
          <Avatar className="size-7 ring-2 ring-background">
            <AvatarImage alt="@shadcn" src="https://github.com/shadcn.png" />
            <AvatarFallback>CH</AvatarFallback>
          </Avatar>
          <Avatar className="size-7 ring-2 ring-background">
            <AvatarImage
              alt="@maxleiter"
              src="https://github.com/maxleiter.png"
            />
            <AvatarFallback>CH</AvatarFallback>
          </Avatar>
          <Avatar className="size-7 ring-2 ring-background">
            <AvatarImage
              alt="@evilrabbit"
              src="https://github.com/evilrabbit.png"
            />
            <AvatarFallback>CH</AvatarFallback>
          </Avatar>
          <Avatar className="size-7 ring-2 ring-background">
            <AvatarImage alt="@leerob" src="https://github.com/leerob.png" />
            <AvatarFallback>CH</AvatarFallback>
          </Avatar>
        </div>

        <p className="me-1.5 text-muted-foreground text-xs">
          Joined by <span className="font-semibold text-foreground">500+</span>{" "}
          developers.
        </p>
      </FramePanel>
    </Frame>
  );
}

Dependencies

@base-ui/react