Link preview

Pro

Hovering a link shows a rich preview card that trails the pointer along the link and tilts with its speed, with cover art drawn from the domain and data from a prop or an async resolver with a loading skeleton.

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

What you get

  • Follows the pointer and tilts with its speed
  • Data as a prop or a cached sync or async resolver
  • Cover art drawn in CSS per domain, no images
  • Skeleton, error state, focus, Escape and edge flip
  • 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/link-preview

Needs a Pro license key in your registry config: two-minute setup. The file lands in components/goodui/link-preview.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