Back to Components
Components
Link Preview
OpenGraph style preview card with image, title, description, and domain.
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/link-preview.tsx
Installation
Using shadcn CLI
npx shadcn add link-preview --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge