Arihant jain

Avatar

Buttons 21

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 (
    <Button variant="outline" className="rounded-full p-0! pe-3!">
      <Avatar>
        <AvatarImage src="https://cdn.21st.dev/assets/localized/7bdeb01a33494b48dfd2e499ed79069c4d6538c0f8f0eeff3c6c323f3d29be4c.png" />
        <AvatarFallback>CN</AvatarFallback>
      </Avatar>
      <span>Toby Belhome</span>
    </Button>
  );
}

Dependencies

More by Arihant jain

View all
  • Footer section

    Footer section

    1.9K
  • Multistep Form

    Multistep Form

    739
  • Animated Drawer

    Animated Drawer

    698
  • Status Badge

    Status Badge

    573
  • Stacked Circular Footer

    Stacked Circular Footer

    446
  • Input Modal

    Input Modal

    357
  • Profile Dropdown

    Profile Dropdown

    213
  • Large Name Footer

    Large Name Footer

    203

More in Buttons

View all
  • Button

    Button

    10
  • Button

    Button

    1
  • Native Button

    Native Button

    12
  • Eclipse Button

    Eclipse Button

    42
  • Texture Button

    Texture Button

    103
  • Button

    Button

  • Button

    Button

    77
  • Split Button

    Split Button

    15