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

    28
  • Orb

    Orb

    15
  • Segmented Control

    Segmented Control

    11
  • Combobox

    Combobox

    6
  • Choicebox

    Choicebox

    6
  • Input OTP

    Input OTP

    5
  • Dialog

    Dialog

    4
  • Select

    Select

    3

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.1K
  • Statistics Card 7

    Statistics Card 7

    301
  • Statistics Card 2

    Statistics Card 2

    272
  • Stats cards with links

    Stats cards with links

    82
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    183
  • Card Studio

    Card Studio

    35
  • Card

    Card

    70
  • Card

    Card

    18