qrcode.react - React QR Code Component
JSON →qrcode.react is a dedicated React component designed for generating QR codes, providing flexible rendering options through either SVG or Canvas. The package is actively maintained, with the current stable version being 4.2.0. It receives regular updates, as evidenced by recent additions like React v19 peer dependency support and new features such as `boostLevel` and the ability to encode multiple segments via an array `value` prop. A key differentiator is its extensive prop API, which allows for fine-grained control over QR code generation, including customization of size, error correction level, foreground/background colors, precise margins (`marginSize`), embedded images with opacity, and minimum QR code version. It ships with embedded TypeScript definitions, ensuring a robust development experience within modern React applications.
Traffic · last 30 days ↓46% vs prev 7d
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇫🇷 France · 🇨🇦 Canada · 🇳🇱 Netherlands