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 {
  Avatar,
  Stack,
  Text,
} from "@/components/ui/hover-card-utils/kit-extras";

export default function HoverCardPersonDemo() {
  return (
    <div
      style={{
        display: "flex",
        alignItems: "center",
        justifyContent: "center",
        minHeight: 220,
        padding: 40,
      }}
    >
      <HoverCard trigger={<Avatar name="Dana Ruiz" />}>
        <Stack direction="row" gap={12} align="center">
          <Avatar name="Dana Ruiz" size={40} />
          <Stack gap={2}>
            <Text weight="medium">Dana Ruiz</Text>
            <Text size="sm" secondary>
              Support lead, on call this week
            </Text>
          </Stack>
        </Stack>
      </HoverCard>
    </div>
  );
}

More by halaska-studio

View all
  • Dot Grid

    Dot Grid

    48
  • Orb

    Orb

    22
  • Segmented Control

    Segmented Control

    18
  • Combobox

    Combobox

    12
  • Choicebox

    Choicebox

    11
  • Table

    Table

    6
  • Input OTP

    Input OTP

    6
  • Switch

    Switch

    5

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Statistics Card 7

    Statistics Card 7

    327
  • Statistics Card 2

    Statistics Card 2

    305
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    625
  • Card Studio

    Card Studio

    5
  • The Item one

    The Item one

    4
  • Weather Card

    Weather Card

    65
  • Card

    Card

    9