Behive Tech Component Registry

QR Code

v0.1.0Draft

A QR code drawn as inline SVG for any value: one white plate and one path of black modules, rendered synchronously so it works in server components and prints crisply at any size.

pnpm add @behivetech/atoms.qr-code

A code at the default size. It is black on white in every theme so it always scans.

Basic Qr CodeOpen in new tab

The smallest size, 6rem (1 in), for tight spots. Below this the code is raised to 6rem.

Small Qr CodeOpen in new tab

Higher error correction survives scuffs and stickers, at the cost of a denser code.

High Error Correction Qr CodeOpen in new tab

An empty value cannot be encoded, so a dashed box of the same size stands in and keeps its label.

Invalid Qr CodeOpen in new tab