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

    133
  • Meter

    Meter

    14
  • Skeleton Loader

    Skeleton Loader

    12
  • 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
  • Course Design Cards

    Course Design Cards

    1.3K
  • Photo Deck

    Photo Deck

    47
  • Folded Card

    Folded Card

    45
  • Statistics Card 10

    Statistics Card 10

    304
  • Statistics Card 2

    Statistics Card 2

    309
  • Statistics Card 7

    Statistics Card 7

    336
  • CTA Section

    CTA Section

    6
  • Liquid Glass Card

    Liquid Glass Card

    198