Skip to content
العربية
Invoices and support

QrCode

A QR code drawn as SVG, black on white in every theme (many scanners cannot read a light code on a dark ground), with a quiet zone. Give it a name for screen readers.

import { QrCode } from "@percentsa/ui";

Examples

Code
export function QrCodeExample() {
  const t = useT();
  const label = t("Link to percent.sa", "رابط percent.sa");
  return (
    <QrCode value="https://percent.sa" label={label} size={144} className="rounded-field" />
  );
}