vijayksingh

Link Card

Cards

About

A clickable preview card that turns a bare URL into a glass-styled tile showing the host and path with a LED "LINK" tag and an "OPEN" action that opens the link in a new tab.

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

Code

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

Usage.tsx

import { LinkCard } from "@/components/ui/link-card";

export default function LinkCardDemo() {
  return (
    <div className="flex w-full flex-wrap items-start justify-center gap-6 p-10">
      <LinkCard href="https://lanterns.photo/night-market" />
      <LinkCard href="https://github.com/unlocalhosted/metalui" />
      <LinkCard href="https://metalui.dev/components/link-card" />
    </div>
  );
}

More by vijayksingh

View all
  • Weather Widget

    Weather Widget

    74
  • Meter

    Meter

    10
  • Skeleton Loader

    Skeleton Loader

    9
  • Textarea

    Textarea

    2
  • Well

    Well

    1
  • Soft Hardware Spinner

    Soft Hardware Spinner

    1
  • Settings List

    Settings List

  • Perfect Preview

    Perfect Preview

More in Cards

View all
  • Statistics Card 2

    Statistics Card 2

    263
  • Stats cards with links

    Stats cards with links

    39
  • Card

    Card

    70
  • Course Design Cards

    Course Design Cards

    1.1K
  • The Item one

    The Item one

    3
  • Card Studio

    Card Studio

    7
  • Statistics Card 7

    Statistics Card 7

    291
  • Item

    Item

    10