About
Avatar component that displays a name tooltip on hover with directional animations.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Avatar with name to your project and fits it to your theme.
Code
How Avatar with name is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Component } from "@/components/ui/avatar-with-name";
export default function DemoOne() {
return <Component src="https://cdn.21st.dev/assets/mirror/51/513d06f542692036ff0bb17938f04b3efd60567ba2cae08049469d21f18e0524.jpg"
name="shadcn"
direction="top" />;
}







