KodeKarsa UI

Indonesia

QR Code

A QR code as SVG, encoded in the browser with no library. Dark on white in both themes, with the quiet zone scanners need.

src/components/ui/qr-code.tsxNo ui-sdk

Link and logo

Memuat

Import

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

Guidelines

  • A logo in the middle covers modules, so pair it with level="H".
  • Don't invert it in dark mode: many scanners fail on a light code on dark.