QrCodeGenerator

1.1.0

Card that encodes a URL or short note into a live QR mark and downloads it as PNG.

Component data

ID
qr-code-generator
Category
atoms
Version
1.1.0
Added
2026-09-15
Type
component
Keyboard nav
Yes
Reduced motion
Yes
qrcodedownloadlinkatom

Dependencies

  • lucide-react
  • clsx
  • tailwind-merge

Examples

Default

<div className="bg-background p-6 text-foreground">
      <QrCodeGenerator {...qrCodeGeneratorMocks.default} />
    </div>

Variants

<div className="flex flex-col gap-6 bg-background p-6 text-foreground">
      <QrCodeGenerator {...qrCodeGeneratorMocks.event} />
      <QrCodeGenerator {...qrCodeGeneratorMocks.empty} />
    </div>

Related