link-preview-react
v1.0.1
Published
A React component to show a preview of a link (title, description, image), styled with Tailwind CSS.
Downloads
3
Maintainers
Readme
link-preview-react
A React component to show a preview of a link (title, description, image), styled with Tailwind CSS.
Install
npm install link-preview-reactUsage
import { LinkPreview } from "link-preview-react";
export function MyComponent() {
return <LinkPreview url="https://github.com/" />;
}Styling
Make sure Tailwind CSS is set up in your project.
Note: This package uses jsonlink.io for metadata extraction. For production, consider your own backend or metadata extraction service.
