is a dependency-free library to render QR Codes. The library makes it simple to integrate with any UI framework and comes with a prebuilt SVG renderer for the web.
The library consists of a core package (@qrcode-renderer/core
) responsible for the encoding of the QR Code. It also provides utilities to integrate the renderer with any UI library.
This monorepo will also host "bridge" packages (@qrcode-renderer/<ui-framework>
) for any UI libraries that we choose to natively support.
- Encode input following the QR Code specs
- Apply error correction (Reed-Solomon) algorithm
- Create final binary payload
- Generate rendering matrix
- Mask data inside matrix
- Create rendering function
Renderers:
- SVG rendering
- React
- React Native
Future:
- Support Kanji encoding
TODO
TODO
yarn
See our guide on contributing.
See our changelog.
- Thanks to Tracy (Tan Yun) logo ❤️
Copyright © 2020 Klarna Bank AB
For license details, see the LICENSE file in the root of this project.
The word "QR Code" is registered trademark of DENSO WAVE INCORPORATED http://www.denso-wave.com/qrcode/faqpatent-e.html