tigran tumasov

Avatar

Component 8

About

Avatars represent a user or a team. Stacked avatars represent a group of people

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

Code

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

Usage.tsx

import { GitHubAvatar, GitLabAvatar, BitbucketAvatar } from "@/components/ui/avatar-1";

export default function GitDemo() {
  return (
      <div className="flex flex-col gap-2 w-3/4">
        <GitHubAvatar size={32} username="rauchg" src="https://cdn.21st.dev/assets/mirror/f4/f4717d0b7a61f81945fa88eb7852b830d4dbd06634363e943498ff10dc846b14.jpg" />
        <GitLabAvatar size={32} username="leerob" src="https://vercel.com/api/www/avatar?u=leerob&s=64" />
        <BitbucketAvatar size={32} username="evilrabbit" src="https://vercel.com/api/www/avatar?u=evilrabbit&s=64" />
      </div>
  );
}

Dependencies

More by tigran tumasov

View all
  • Product Hunt Badge

    Product Hunt Badge

    1.8K
  • Book

    Book

    162
  • Calendar

    Calendar

    152
  • Theme Switcher

    Theme Switcher

    135
  • Snippet

    Snippet

    124
  • Table

    Table

    123
  • Toggle

    Toggle

    89
  • Feedback

    Feedback

    88