About
Enchanced shadcn/ui avatar
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";
import { Badge } from "@/components/ui/badge";
function Component() {
return (
<div className="relative">
<Avatar>
<AvatarImage
src="https://cdn.21st.dev/assets/localized/c85293bcf45ed2a54cb7a84c5cf813e896edfe01b692eacab8cc9f5547edbfad.jpg"
alt="Kelly King"
/>
<AvatarFallback>KK</AvatarFallback>
</Avatar>
<Badge className="absolute -top-1 left-full min-w-5 -translate-x-4 border-background px-1">
6
</Badge>
</div>
);
}
export { Component };
export default Component;






![Calendar [React Day Picker]](https://cdn.21st.dev/cdn-cgi/image/fit=scale-down,width=640,quality=75,format=webp/https://cdn.21st.dev/user_originui/calendar/default/preview.1737991983843.png)