Moumen Soliman

Avatar Hover Card

Cards 216

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

    935
  • Gallery Grid with Lightbox

    Gallery Grid with Lightbox

    818
  • Expanding Search Dock

    Expanding Search Dock

    784
  • Glassmorphism Portfolio

    Glassmorphism Portfolio

    675
  • Hero Section

    Hero Section

    616
  • Glass Checkout Card

    Glass Checkout Card

    500

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Statistics Card 2

    Statistics Card 2

    304
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    601
  • Stats cards with links

    Stats cards with links

    37
  • Card Studio

    Card Studio

    14
  • Statistics Card 7

    Statistics Card 7

    326
  • The Item one

    The Item one

    3
  • Statistics Card 10

    Statistics Card 10

    293