Moumen Soliman

Avatar Hover Card

Cards 210

About

Avatar card that expands on hover to reveal profile information with smooth animations.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Avatar Hover Card to your project and fits it to your theme.

Code

How Avatar Hover Card is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Component } from "@/components/ui/avatar-hover-card";
import { Button } from "@/components/ui/button";
import { MessageCircle, UserPlus } from "lucide-react";

export default function DemoOne() {
  return <Component  
  imageSrc="https://cdn.21st.dev/assets/mirror/51/513d06f542692036ff0bb17938f04b3efd60567ba2cae08049469d21f18e0524.jpg"
        imageAlt="Profile"
        name="shadcn"
        username="shadcn"
        description="Community manager and content creator."
        buttonContent={
          <div className="flex gap-2 w-full">
            <Button size="sm" variant="outline" className="flex-1">
              <MessageCircle className="h-4 w-4 mr-2" />
              Message
            </Button>
            <Button size="sm" className="flex-1">
              <UserPlus className="h-4 w-4 mr-2" />
              Follow
            </Button>
          </div>
        }
  
   />;
}

Dependencies

More by Moumen Soliman

View all
  • Interactive Logs Table

    Interactive Logs Table

    1.4K
  • Glass Blog Card

    Glass Blog Card

    1.1K
  • Glowy Waves Hero

    Glowy Waves Hero

    925
  • Gallery Grid with Lightbox

    Gallery Grid with Lightbox

    804
  • Expanding Search Dock

    Expanding Search Dock

    767
  • Glassmorphism Portfolio

    Glassmorphism Portfolio

    658
  • Hero Section

    Hero Section

    607
  • Glass Checkout Card

    Glass Checkout Card

    488

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.1K
  • Statistics Card 7

    Statistics Card 7

    301
  • Statistics Card 2

    Statistics Card 2

    272
  • Stats cards with links

    Stats cards with links

    82
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    184
  • Card Studio

    Card Studio

    35
  • Card

    Card

    70
  • Card

    Card

    18