my/ui

Command Palette

Search for a command to run...

All components

Avatar Group 32px

avatars

Origin UI component.

responsive · 600px

Install

Same command in any shadcn project — React (Vite/CRA), Next.js, Remix, Astro, and more:

$npx shadcn@latest add https://your-domain/r/comp-403.json

Usage

import Cmp from "@/registry/origin-ui/comp-403";

export default function Demo() {
  return <Cmp />;
}

Component source

export default function Component() {
  return (
    <div className="-space-x-[0.6rem] flex">
      <img
        alt="Avatar 01"
        className="rounded-full ring-2 ring-background"
        height={32}
        src="/origin/avatar-80-03.jpg"
        width={32}
      />
      <img
        alt="Avatar 02"
        className="rounded-full ring-2 ring-background"
        height={32}
        src="/origin/avatar-80-04.jpg"
        width={32}
      />
      <img
        alt="Avatar 03"
        className="rounded-full ring-2 ring-background"
        height={32}
        src="/origin/avatar-80-05.jpg"
        width={32}
      />
      <img
        alt="Avatar 04"
        className="rounded-full ring-2 ring-background"
        height={32}
        src="/origin/avatar-80-06.jpg"
        width={32}
      />
    </div>
  );
}

Source: Origin UI