Description
React QR Code is an MIT-licensed React library for generating QR codes as SVG. It is built for customization: you can style finder patterns, data modules and colors, add gradients, use custom shapes for modules and finder patterns, place a logo, and add a frame. The library is written in TypeScript, and the site says it is lightweight and optimized for performance without sacrificing quality or bundle size. Because the output is SVG, the codes stay sharp at any size for web and print. You install it with npm i @lglab/react-qr-code and render the component with settings objects for data modules, finder patterns, gradients, images and frames, and a ref gives you access to the rendered code. The site has an API reference, examples for basic usage, data modules, finder patterns, backgrounds, images and frames, and a live demo.…
Highlights
- SVG QR codes for React
- Gradients, custom shapes and logos
- Frames and background options
- TypeScript types and llms.txt docs
Ratings & Reviews
No ratings yet
Be the first to rate @lglab/react-qr-code.
People also visit
@lglab/react-qr-code FAQ
What is React QR Code?
A React library that generates customizable QR codes as SVG.
How do I install it?
Run: npm i @lglab/react-qr-code
Can I style the QR code?
Yes. You can style finder patterns, data modules, colors, gradients, shapes, images and frames.
What license is it under?
MIT, as the site states.
Does it have docs for AI tools?
Yes. The site publishes llms.txt and llms-full.txt files for tools such as Cursor and Windsurf.
What are the best @lglab/react-qr-code alternatives?
Popular alternatives to @lglab/react-qr-code include qrcode.react, react-jsbarcode and react-barcode. See all @lglab/react-qr-code alternatives


















