nikolas-sapa

Hover Card Dwell

Cards

About

A hover-triggered link preview card that only opens once the pointer dwells long enough to fully wind a small animated arc around the trigger, and visibly unwinds if you move away early instead of just canceling.

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

Code

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

Usage.tsx

import HoverCardDwell from "@/components/ui/hover-card-dwell";

export default function HoverCardDwellDemo() {
  return (
    <div className="flex min-h-[400px] w-full items-center justify-center bg-background p-10">
      <p className="max-w-md text-sm leading-relaxed text-foreground">
        Hover over{" "}
        <HoverCardDwell
          href="https://example.com"
          preview={
            <span className="block space-y-1">
              <span className="block font-medium text-foreground">
                Example Domain
              </span>
              <span className="block text-ns-muted">
                This domain is for use in illustrative examples in documents.
              </span>
            </span>
          }
        >
          this link
        </HoverCardDwell>{" "}
        and keep dwelling — a hairline arc winds around the dot before the
        preview opens, and unwinds if you look away too soon.
      </p>
    </div>
  );
}

More by nikolas-sapa

View all
  • Countdown Vapor Digits

    Countdown Vapor Digits

    160
  • Dye Whorl

    Dye Whorl

    153
  • Background ASCII Wake

    Background ASCII Wake

    70
  • Hero Burin Hatch

    Hero Burin Hatch

    68
  • Hero Text Ring Funnel

    Hero Text Ring Funnel

    56
  • Hero ASCII Schlieren

    Hero ASCII Schlieren

    56
  • Hero ASCII Reaction Front

    Hero ASCII Reaction Front

    55
  • Toast Gravity Stack

    Toast Gravity Stack

    54

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.2K
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    367
  • Card Studio

    Card Studio

    35
  • Stats cards with links

    Stats cards with links

    89
  • The Item one

    The Item one

    3
  • Statistics Card 2

    Statistics Card 2

    287
  • Card

    Card

    57
  • Card with Grid Ellipsis Pattern

    Card with Grid Ellipsis Pattern

    230