kanchanasw

Sketch Hover Card

Cards 53

About

A hover-triggered popover card with a hand-drawn, rough.js-sketched border and shadow, built on Radix UI's hover card primitive for showing extra details (e.g. a profile preview) when a trigger element is hovered.

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

Code

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

Usage.tsx

import {
  HoverCard,
  HoverCardTrigger,
  HoverCardContent,
} from "@/components/ui/hover-card";
import { Button } from "@/components/ui/button";

export default function HoverCardDemo() {
  return (
    <div className="flex min-h-[220px] w-full items-center justify-center bg-background p-10 text-foreground">
      <HoverCard>
        <HoverCardTrigger asChild>
          <Button variant="outline">Hover</Button>
        </HoverCardTrigger>
        <HoverCardContent>Details</HoverCardContent>
      </HoverCard>
    </div>
  );
}

Dependencies

More by kanchanasw

View all
  • Sketch Tabs

    Sketch Tabs

    146
  • Hand-Drawn Checkbox

    Hand-Drawn Checkbox

    78
  • Sketch Textarea

    Sketch Textarea

    68
  • Sketch Button

    Sketch Button

    29
  • Pagination

    Pagination

    12
  • Radial Menu

    Radial Menu

    7
  • Radial Progress

    Radial Progress

    6
  • Sketch Prompt Input

    Sketch Prompt Input

    3

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