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, { AvatarGroup } from "@/components/ui/avatar";
export default function AvatarGroupOverflowDemo() {
return (
<AvatarGroup max={3}>
<Avatar name="Alice" />
<Avatar name="Bob" />
<Avatar name="Carol" />
<Avatar name="Dan" />
<Avatar name="Eve" />
</AvatarGroup>
);
}






