Edwin Vakayil

New Hover Card

Cards 14

About

This is hover card component.

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

Code

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

Usage.tsx

"use client";

import {
  HoverCard,
  HoverCardContent,
  HoverCardTrigger,
} from "../components/ui/hover-card-1";

export function HoverCardPreview() {
  return (
    <div className="flex min-h-[400px] items-center justify-center">
      <HoverCard>
        <div className="flex flex-col items-center gap-4 text-center">
          <HoverCardTrigger asChild>
            
             <a href="#"
              className="text-sm font-medium underline underline-offset-4"
              onClick={(e) => e.preventDefault()}
            >
              View profile
            </a>
          </HoverCardTrigger>
          <p className="max-w-sm text-sm text-muted-foreground">
            Hover for delayed reveal or focus the trigger to compare the same API on the dedicated Radix Hover Card primitive.
          </p>
        </div>
        <HoverCardContent className="w-72">
          <div className="space-y-1">
            <h4 className="text-sm font-semibold">@edwinvakayil</h4>
            <p className="text-[13px] leading-5 text-muted-foreground">
              @edwinvakayil · Design Engineer
            </p>
            <p className="text-[14px] leading-6 text-muted-foreground">
              Leading onboarding, motion systems, and dense product surfaces
              across the core workspace.
            </p>
          </div>
        </HoverCardContent>
      </HoverCard>
    </div>
  );
}

export default HoverCardPreview;

Dependencies

More by Edwin Vakayil

View all
  • Origin Button

    Origin Button

    769
  • Infinite Ribbon

    Infinite Ribbon

    524
  • Shimmer Text

    Shimmer Text

    402
  • Dia Text

    Dia Text

    345
  • Icon Bar

    Icon Bar

    244
  • FAQ Pro

    FAQ Pro

    224
  • Verified Badge

    Verified Badge

    212
  • New Card

    New Card

    183

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    33
  • Course Design Cards

    Course Design Cards

    1.1K
  • Card

    Card

    70
  • Statistics Card 2

    Statistics Card 2

    264
  • Statistics Card 10

    Statistics Card 10

    263
  • Card

    Card

    17
  • Card Studio

    Card Studio

    9
  • The Item one

    The Item one

    3