Manu Arora

Link Preview

Cards 2.3K

About

Dynamic link previews for your anchor tags

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Link Preview to your project and fits it to your theme.

Code

How Link Preview is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";
import React from "react";
import { LinkPreview } from "@/components/ui/link-preview";

export function LinkPreviewDemoSecond() {
  return (
    <div className="flex justify-center items-start h-[40rem] flex-col px-4">
      <p className="text-neutral-500 dark:text-neutral-400 text-xl md:text-3xl max-w-3xl  text-left mb-10">
        Visit{" "}
        <LinkPreview
          url="https://ui.aceternity.com"
          className="font-bold bg-clip-text text-transparent bg-gradient-to-br from-purple-500 to-pink-500"
        >
          Aceternity UI
        </LinkPreview>{" "}
        and for amazing Tailwind and Framer Motion components.
      </p>

      <p className="text-neutral-500 dark:text-neutral-400 text-xl md:text-3xl max-w-3xl  text-left ">
        I listen to{" "}
        <LinkPreview
          url="https://www.youtube.com/watch?v=S-z6vyR89Ig&list=RDMM&index=3"
          imageSrc="https://ui.aceternity.com/_next/image?url=%2Fimages%2Fimraan-hashmi.jpeg&w=640&q=50"
          isStatic
          className="font-bold"
        >
          this guy
        </LinkPreview>{" "}
        and I watch{" "}
        <LinkPreview
          url="/templates"
          imageSrc="https://ui.aceternity.com/_next/image?url=%2Fimages%2Ffight-club.jpeg&w=640&q=50"
          isStatic
          className="font-bold"
        >
          this movie
        </LinkPreview>{" "}
        twice a day
      </p>
    </div>
  );
}

Dependencies

More by Manu Arora

View all
  • Container Scroll Animation

    Container Scroll Animation

    10.9K
  • Aurora Background

    Aurora Background

    4.7K
  • Glowing Effect

    Glowing Effect

    4.5K
  • Timeline

    Timeline

    4.5K
  • Sparkles

    Sparkles

    4.3K
  • Sidebar

    Sidebar

    3.9K
  • Lamp

    Lamp

    3.9K
  • Bento Grid

    Bento Grid

    2.9K

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Stats cards with links

    Stats cards with links

    103
  • Admin Dashboard Cards

    Admin Dashboard Cards

    32
  • Card

    Card

    2
  • Statistics Card 7

    Statistics Card 7

    341
  • Astryx Clickable Card

    Astryx Clickable Card

    2
  • Photo Deck

    Photo Deck

    73
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    766