Docs
Link Preview

Link Preview

A component that shows a popup for link hovering.

Learn more about Next.jsand how it can help you build better web applications.

Installation

Props

PropTypeDefaultDescription
hrefstring""The URL for the link preview.
childrenReactNodeundefinedThe content inside the anchor tag.
classNamestring?""Additional classes for the anchor tag.
widthnumber?600The width of the preview image in pixels.
heightnumber?400The height of the preview image in pixels.
showMetadataboolean?trueWhether to display metadata (title, description, favicon).
showFaviconboolean?trueWhether to display the favicon of the link.