halaska-studio

Hover Card

Cards 4

About

A small popover panel that appears when hovering (or focusing) a trigger element, used to preview extra details like a customer summary or a person's profile without navigating away.

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

Code

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

Usage.tsx

import HoverCard from "@/components/ui/hover-card";
import {
  LinkButton,
  Stack,
  Text,
} from "@/components/ui/hover-card-utils/kit-extras";

export default function HoverCardDemo() {
  return (
    <div
      style={{
        display: "flex",
        alignItems: "center",
        justifyContent: "center",
        minHeight: 220,
        padding: 40,
      }}
    >
      <HoverCard trigger={<LinkButton>Acme</LinkButton>}>
        <Stack gap={4}>
          <Text weight="medium">Acme</Text>
          <Text size="sm" secondary>
            Team plan, 42 seats
          </Text>
          <Text size="sm" secondary>
            3 open tickets, last contact today
          </Text>
        </Stack>
      </HoverCard>
    </div>
  );
}

More by halaska-studio

View all
  • Dot Grid

    Dot Grid

    40
  • Orb

    Orb

    20
  • Segmented Control

    Segmented Control

    16
  • Combobox

    Combobox

    9
  • Choicebox

    Choicebox

    8
  • Input OTP

    Input OTP

    5
  • Switch

    Switch

    4
  • Dialog

    Dialog

    4

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    40
  • Course Design Cards

    Course Design Cards

    1.2K
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    443
  • Card Studio

    Card Studio

    36
  • Statistics Card 7

    Statistics Card 7

    312
  • Statistics Card 2

    Statistics Card 2

    293
  • The Item one

    The Item one

    3
  • Testimonial

    Testimonial

    70