Arihant jain

Avatar

Component 1

About

Here is Avatar component

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 { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar-1";
import { Button } from "@/components/ui/button";

export default function Component() {
  return (
    <div className="flex items-center gap-4">
      <Avatar>
        <AvatarFallback className="bg-indigo-600 text-white">TB</AvatarFallback>
      </Avatar>
      <Avatar>
        <AvatarFallback className="bg-teal-600 text-white">LR</AvatarFallback>
      </Avatar>
    </div>
  );
}

Dependencies

More by Arihant jain

View all
  • Footer section

    Footer section

    1.9K
  • Multistep Form

    Multistep Form

    709
  • Animated Drawer

    Animated Drawer

    694
  • Status Badge

    Status Badge

    509
  • Stacked Circular Footer

    Stacked Circular Footer

    423
  • Input Modal

    Input Modal

    327
  • Large Name Footer

    Large Name Footer

    199
  • Profile Dropdown

    Profile Dropdown

    195