kevingirelli

QR Code

Component 110

About

A crisp SVG QR code component with dots, rounded or square module styles that renders fully on the server and can optionally animate itself into view.

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

Code

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

Usage.tsx

import { QRCode } from "@/components/ui/qr-code";

export default function QRCodeDemo() {
  return (
    <div className="flex items-center justify-center p-10">
      <div className="flex flex-col items-center gap-3 rounded-xl border bg-card p-6 shadow-sm">
        <QRCode value="https://github.com/KevinGirelli/corsair-ui" size={180} />
        <p className="text-sm text-muted-foreground">Scan to visit the repo</p>
      </div>
    </div>
  );
}

Dependencies

More by kevingirelli

View all
  • Aurora

    Aurora

    100
  • FAQ Section

    FAQ Section

    63
  • Warp Gradient

    Warp Gradient

    57
  • Animated Border

    Animated Border

    56
  • Wave Text

    Wave Text

    50
  • Corner Frame

    Corner Frame

    44
  • Spotlight

    Spotlight

    38
  • Flip Text

    Flip Text

    27