Back to library

misc

Avatar 8

Avatar social proof with a text label — overlapping avatars inside a rounded pill. From Cnippet UI.

Inspired by Cnippet UI · View source

Preview

LTNJMGCH

Trusted by 100K+ users.

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-8

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

Source files

components/ui/v-avatar-8.tsx
import {
  Avatar,
  AvatarFallback,
  AvatarImage,
} from "./avatar";

export default function VAvatar8() {
  return (
    <div className="flex items-center gap-1.5 rounded-full border border-border p-1 shadow-black/5 shadow-sm">
      <div className="flex space-x-[-0.6rem]">
        <Avatar className="size-7 ring-2 ring-background">
          <AvatarImage
            alt="Liam Thompson"
            src="https://images.unsplash.com/photo-1542595913-85d69b0edbaf?w=96&h=96&dpr=2&q=80"
          />
          <AvatarFallback>LT</AvatarFallback>
        </Avatar>
        <Avatar className="size-7 ring-2 ring-background">
          <AvatarImage
            alt="Nick Johnson"
            src="https://images.unsplash.com/photo-1485206412256-701ccc5b93ca?w=96&h=96&dpr=2&q=80"
          />
          <AvatarFallback>NJ</AvatarFallback>
        </Avatar>
        <Avatar className="size-7 ring-2 ring-background">
          <AvatarImage
            alt="Maria Garcia"
            src="https://images.unsplash.com/photo-1620075225255-8c2051b6c015?w=96&h=96&dpr=2&q=80"
          />
          <AvatarFallback>MG</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">
        Trusted by <span className="font-semibold text-foreground">100K+</span>{" "}
        users.
      </p>
    </div>
  );
}

Dependencies

@base-ui/react