halaska-studio

Hover Card

Cards 1

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

    24
  • Orb

    Orb

    15
  • Segmented Control

    Segmented Control

    8
  • Choicebox

    Choicebox

    6
  • Combobox

    Combobox

    5
  • Dialog

    Dialog

    4
  • Input OTP

    Input OTP

    4
  • Table

    Table

    2

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    39
  • Statistics Card 2

    Statistics Card 2

    264
  • Course Design Cards

    Course Design Cards

    1.1K
  • Card

    Card

    70
  • The Item one

    The Item one

    3
  • Card Studio

    Card Studio

    7
  • Statistics Card 7

    Statistics Card 7

    292
  • Item

    Item

    10