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

    137
  • Meter

    Meter

    15
  • Skeleton Loader

    Skeleton Loader

    14
  • Textarea

    Textarea

    5
  • Soft Hardware Spinner

    Soft Hardware Spinner

    3
  • Well

    Well

    1
  • Settings List

    Settings List

  • Perfect Preview

    Perfect Preview

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    46
  • Course Design Cards

    Course Design Cards

    1.3K
  • Liquid Glass Card

    Liquid Glass Card

    202
  • Statistics Card 2

    Statistics Card 2

    321
  • Card Studio

    Card Studio

    37
  • Astryx Clickable Card

    Astryx Clickable Card

    1
  • Admin Dashboard Cards

    Admin Dashboard Cards

    40
  • Statistics Card 10

    Statistics Card 10

    307