Component

HoverCard

Previews rich content when a link or control is hovered or focused.

Install

Run the CLI to copy the source into your project.

pnpm dlx @stalk-ui/cli add @stalk-ui/hover-card

Examples

Live previews render through the docs app's PandaCSS codegen.

Theme
<HoverCard.Root>
  <HoverCard.Trigger asChild>
    <Link href="#">@ada</Link>
  </HoverCard.Trigger>
  <HoverCard.Content>
    <Text weight="medium">Ada Lovelace</Text>
    <Text size="bodySm">Mathematician and the first computer programmer.</Text>
  </HoverCard.Content>
</HoverCard.Root>

Props

Public component props extracted from the source TypeScript types.

No component-specific props are documented yet — the component accepts the underlying element's standard props.

Variants

Variant axes exposed by the underlying PandaCSS recipe or slot recipe.

No recipe variants are documented for this component.

Registry

Files this component contributes to your registry install.

  • Manifest: `/r/hover-card.json`
  • Recipe: `hoverCard`
  • Files: `src/components/ui/hover-card.tsx`