Clevision

Basic Avatar

Component 26

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 { BadgeCheckIcon } from 'lucide-react'

import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'

const AvatarVerifiedDemo = () => {
  return (
    <div className='relative w-fit'>
      <Avatar className='size-10'>
        <AvatarImage src='https://cdn.21st.dev/assets/mirror/ec/ec81be4cc810190ce4d240fcc57295965c5cebaa8751558595ade91eb62c09a4.png' alt='Hallie Richards' />
        <AvatarFallback className='text-xs'>HR</AvatarFallback>
      </Avatar>
      <span className='absolute -top-1.5 -right-1.5'>
        <span className='sr-only'>Verified</span>
        <BadgeCheckIcon className='text-background size-5 fill-sky-500' />
      </span>
    </div>
  )
}

export default AvatarVerifiedDemo

More by Clevision

View all
  • Portfolio Hero

    Portfolio Hero

    1.2K
  • Syntra Hero

    Syntra Hero

    776
  • Hero Section

    Hero Section

    454
  • Hardware Hero

    Hardware Hero

    257
  • Saas Hero Section

    Saas Hero Section

    245
  • Studio Hero

    Studio Hero

    245
  • Hero Section 41

    Hero Section 41

    210
  • Nexa Canvas Hero

    Nexa Canvas Hero

    123