Edwin Vakayil

New Hover Card

Cards 15

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

    887
  • Infinite Ribbon

    Infinite Ribbon

    602
  • Shimmer Text

    Shimmer Text

    461
  • Dia Text

    Dia Text

    379
  • Icon Bar

    Icon Bar

    266
  • FAQ Pro

    FAQ Pro

    250
  • Verified Badge

    Verified Badge

    235
  • New Card

    New Card

    201

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Photo Deck

    Photo Deck

    47
  • Folded Card

    Folded Card

    45
  • Statistics Card 10

    Statistics Card 10

    304
  • Statistics Card 2

    Statistics Card 2

    309
  • Statistics Card 7

    Statistics Card 7

    336
  • CTA Section

    CTA Section

    6
  • Liquid Glass Card

    Liquid Glass Card

    198