About
A circular profile image component that automatically falls back to showing a person's initials when no image is provided or the image fails to load.
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 AvatarDemo() {
return <Avatar name="Ada Lovelace" />;
}






