1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month๐Ÿšจ Slop police๐Ÿšจ Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. sunui
  3. Link Preview Card

Link Preview Card

block

Unfurls a pasted URL into a preview card with site name, title, description and image. Pass metadata you already have, or a fetchMeta function that calls your own endpoint. Empty, loading and resolved are one frame that morphs, with the skeleton inside the card and the favicon and domain held in place; an invalid URL shows an inline message, and a failed fetch falls back to a domain-only card that still opens. The whole card lifts on hover and presses in, with row or stacked layouts and an optional remove button.

pnpm dlx shadcn@latest add "https://sunui.synvize.com/r/link-preview-card.json"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore
  • framer-motion
  • utils
components/link-preview-card.tsx