dixant

Avatar

Component

About

A circular user avatar that shows a profile image, falls back to initials or a generic person icon, and can display an online/offline/busy status dot; includes an AvatarGroup for stacking multiple avatars with an overflow count.

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 from "@/components/ui/avatar";

export default function AvatarIconDemo() {
  return <Avatar size="lg" />;
}

More by dixant

View all
  • Tooltip

    Tooltip

    1
  • Select

    Select

  • Typography

    Typography

  • Stack

    Stack

  • Pagination

    Pagination

  • Skeleton

    Skeleton

  • Radio Group

    Radio Group

  • Icon

    Icon