halaska-studio

Hover Card

Cards 6

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

    55
  • Orb

    Orb

    28
  • Segmented Control

    Segmented Control

    20
  • Combobox

    Combobox

    15
  • Choicebox

    Choicebox

    13
  • Table

    Table

    8
  • Input OTP

    Input OTP

    8
  • Switch

    Switch

    6

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Weather Card

    Weather Card

    69
  • Statistics Card 7

    Statistics Card 7

    340
  • Stats cards with links

    Stats cards with links

    102
  • Statistics Card 2

    Statistics Card 2

    316
  • Approval Card

    Approval Card

    37
  • Recipe Card

    Recipe Card

    53
  • The Item one

    The Item one

    4