About
Here is Avatar component
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Basic Avatar to your project and fits it to your theme.
Code
How Basic 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'
const AvatarStatusBusyDemo = () => {
return (
<div className='relative w-fit'>
<Avatar>
<AvatarImage src='https://cdn.21st.dev/assets/mirror/ec/ec81be4cc810190ce4d240fcc57295965c5cebaa8751558595ade91eb62c09a4.png' alt='Hallie Richards' />
<AvatarFallback className='text-xs'>HR</AvatarFallback>
</Avatar>
<span className='border-background bg-destructive absolute -right-0.5 -bottom-0.5 size-3 rounded-full border-2'>
<span className='sr-only'>Busy</span>
</span>
</div>
)
}
export default AvatarStatusBusyDemo






