Arihant jain

Avatar

Buttons 10

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 { ChevronDownIcon } from "lucide-react";
import { Button } from "@/components/ui/button";

export default function Component() {
  return (
    <Button variant="ghost" className="rounded-full p-0! pe-3!">
      <Avatar>
        <AvatarImage src="https://cdn.21st.dev/assets/localized/d0fc3acc4a6fd5269ed6f6fc9784e1a3d011e5f000c5081995b31ee8b485d18e.png" />
        <AvatarFallback>CN</AvatarFallback>
      </Avatar>
      <ChevronDownIcon />
    </Button>
  );
}

Dependencies

More by Arihant jain

View all
  • Footer section

    Footer section

    2K
  • Multistep Form

    Multistep Form

    779
  • Animated Drawer

    Animated Drawer

    710
  • Status Badge

    Status Badge

    640
  • Stacked Circular Footer

    Stacked Circular Footer

    469
  • Input Modal

    Input Modal

    390
  • Profile Dropdown

    Profile Dropdown

    222
  • Large Name Footer

    Large Name Footer

    207

More in Buttons

View all
  • Button

    Button

    166
  • Texture Button

    Texture Button

    121
  • Button

    Button

    21
  • Figma File Button

    Figma File Button

    39
  • Native Button

    Native Button

    12
  • Button

    Button

    88
  • HeroUI Button Group

    HeroUI Button Group

    11
  • Great UI Button

    Great UI Button

    19