Hover preview card

Pro

One shared hover card for a group of triggers: moving between mentions makes the same card glide over, reshape and cross-fade while its arrow tracks the active trigger, with delays and a pointer safe area.

A recording of the component itself. With Pro you get its full source and it runs in your app.

What you get

  • One card morphs between triggers instead of reopening
  • Arrow tracks the active trigger on a spring
  • Pointer safe area with an optional debug overlay
  • Open, close and switch delays, focus and Escape
  • One TypeScript file in your project, yours to edit. No runtime package.
  • Keyboard, screen reader and reduced motion support; light and dark; your shadcn theme.

Install

npx shadcn@latest add @goodui-pro/hover-card

Needs a Pro license key in your registry config: two-minute setup. The file lands in components/goodui/hover-card.tsx.

More Pro components

Spotlight tour

A product tour whose spotlight flows between targets: the cutout morphs position, size and radius on one spring while the note follows, flips at edges and scrolls targets into view.

Pro

Photo lightbox

A gallery whose thumbnail grows into a full-screen viewer with the same crop and corners; pinch, wheel or double tap to zoom, swipe to the next photo, drag down to close.

Pro

Stories viewer

Phone-style stories: segmented progress bars fill per slide, taps step, a hold pauses, and a swipe turns a 3D cube to the next person; pull down and the viewer shrinks away.

Pro