Elestia Open Source Ratings
7.2

qrcode.react

A strong pick. 3rd of 9 QR codes and barcodes.

qrcode.react is a small React component that draws QR codes as SVG or canvas. It is the most used React-specific QR generator and a sound pick for React apps today. It cannot scan codes or make barcodes, and it has had no release since December 2024.

Best for: React apps that need to show a plain QR code, optionally with a logo, using no extra dependencies.

WebsiteGitHubnpm

Scores

Overall7.2

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

For React apps that need to show a QR code, it is the usual pick: zero dependencies, typed, simple, and widely used, with usage still growing. Its slow releases, single maintainer and basic styling keep it out of the top band. It does not cover the category's scanning or barcode jobs; use zxing-wasm, jsQR, JsBarcode or bwip-js for those, and node-qrcode for generation outside React.

GPT-6.2 Sol: 7.3, likely 6.1 to 8.3

The compact, typed React API makes this a strong pick for displaying standard QR codes. node-qrcode has a better fit for server-generated files, and zxing-wasm covers reading and writing multiple barcode formats. The long gap between releases is the main uncertainty for new projects that expect to track future React versions.

Needed by many3.4

How many developers need a tool for this job?

Claude Opus 5.5: 3.5, likely 2.5 to 4.5

Showing QR codes is a clear niche. This project narrows it further to React and to generation only, with no scanning or barcodes. Within React apps that need it, though, the job comes up often: payments, 2FA setup, wallet connect and sharing links.

GPT-6.2 Sol: 3.2, likely 2.0 to 4.3

Displaying QR codes is a specific need within web development, and this package serves React web apps. State of JavaScript shows that React has a large audience, but the survey gives little evidence about how many of those developers need QR generation.

Helps a lot7.4

How well does it do the job for those who need it?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

v4 gives a clean API with SVG and canvas components, refs, logo images, marginSize, minVersion, segments and boostLevel. It has built-in types and zero dependencies. It does the job well, but styling is basic compared with QR Code Styling, and a few canvas rendering bugs stay open. The v4 removal of the default export can trip up code copied from older examples.

GPT-6.2 Sol: 7.8, likely 6.7 to 8.9

The two typed components give developers and coding agents a small API for rendering QR codes with logos and adjustable error correction. Bundlephobia measures about 5.9 kB minified and gzipped. The zero-margin default needs care, and QR Code Styling offers richer visual controls and built-in downloads. Published bundle measurements give little evidence about rendering speed or scan success.

Holds up over time5.6

Will it still be a good choice in two years?

Claude Opus 5.5: 5.5, likely 4.0 to 7.0

The original author still maintains it. He pinned actions, updated tooling and merged dependency bumps in mid-2026. But there has been no release in almost two years, Scorecard rates Maintained at 0, and one person does nearly all the work. The job is mature and stable, so slow releases hurt less here than they would in a fast-moving category.

  • github.com/zpao/qrcode.react/commits/trunk: 18 commits in 2026, 13 by Dependabot alone, the rest tooling by zpao
  • npm latestPublishedAt: Last release 4.2.0 on 2024-12-11; 0 versions in the last year
  • scorecard Maintained: Score 0
  • github openPullRequests: 21 open PRs against 109 merged

GPT-6.2 Sol: 5.6, likely 4.1 to 7.1

The repository recorded 18 commits in the last year, and an owner responded to a rendering report within two weeks. The last release was in December 2024, npm lists one maintainer, and users reported import failures after v4 removed the default export. The maintainer has proposed dropping CommonJS in v5, and the long release gap makes the timing of future compatibility updates hard to judge.

Used widely6.5

How many use it, and is that growing?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

It has about 19,000 dependent repos and 938 dependent packages, second in the category after node-qrcode and ahead of every other peer. Downloads grew 6.9x year over year, above the 4.1 median, so it is gaining ground. Some downloads come from other packages that install it, but the dependents count confirms that many projects pick it directly.

  • dependents repos: 19,160 repos and 938 packages
  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 57.6M vs 8.3M, ratio 6.9 against a 4.1 median
  • github stars: 4,296 stars
  • npmjs.com/package/qrcode.react: About 1.6M weekly downloads by npm's own count

GPT-6.2 Sol: 6.0, likely 4.8 to 7.2

ecosyste.ms found 19,160 dependent repositories, second in this group behind node-qrcode, and 938 dependent npm packages. Four-week downloads rose from 8.3 million to 57.6 million, or 6.9 times, ahead of the catalog median of 4.1 times and behind several peers. CI and transitive installs through packages such as Clerk UI leave the rate of new direct adoption uncertain.

  • dependents repos, packages; peers dependentRepos: 19,160 repositories and 938 packages in the sample.
  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo; medianDownloadsRatio; peers: Install growth beats the catalog median.
  • github stars; hackerNews stories; bluesky posts: 4,296 stars and zero matched stories or posts.
  • github.com/clerk/javascript/blob/main/packages/ui/package.json: Clerk UI installs qrcode.react 4.2.0 as a dependency.
Vouched for5.6

Who stands behind it being good?

Claude Opus 5.5: 4.5, likely 3.0 to 6.0

Its validation is broad quiet use: many thousands of dependent repos and packages over more than ten years. It has no survey coverage, no Hacker News or Bluesky attention, and no independent benchmarks or write-ups beyond generic comparison sites. Ant Design's QR component now builds on its own @rc-component/qrcode package instead.

GPT-6.2 Sol: 6.7, likely 5.3 to 7.9

Clerk uses it in its authenticator enrollment UI, and Cherry Studio lists 4.2.0 as a dependency. A recent third-party comparison favors it for simple React QR codes. These examples cover real adoption and ease of integration, while package-specific satisfaction data and comparative scan tests are scarce.

Safe7.4

How safe is it to depend on?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

It has no dependencies, no advisories ever and a permissive ISC licence, and the QR encoder (Nayuki's generator) is vendored into the package. Scorecard is 4.9: Code-Review, Security-Policy, Token-Permissions and Branch-Protection are weak, and releases come from a single maintainer. GitHub shows no licence, but npm and the Scorecard License check (9) confirm ISC.

  • advisories total: 0 advisories
  • npm dependencies: 0 runtime dependencies
  • scorecard score: 4.9; Security-Policy 0, Token-Permissions 0, Code-Review 2
  • npm license: ISC

GPT-6.2 Sol: 6.7, likely 5.2 to 8.2

The permissive ISC package adds no runtime dependencies beyond its React peer and bundles an MIT-licensed encoder. OSV lists no package advisories, though the repository's OpenSSF Scorecard gives its vulnerabilities check zero without an advisory ID in the supplied snapshot. The 4.9 Scorecard also flags token permissions, code review, and branch protection, and GitHub shows no security policy. One npm maintainer is listed, and the npm publishing process is unclear.

Good

  • It has no runtime dependencies and ships its own TypeScript types.
  • You can choose between SVG and canvas components (QRCodeSVG, QRCodeCanvas), with ref access to the underlying node.
  • It supports logo embedding, margin size, minimum version, error-correction boost control and multi-segment values.
  • Its API is simple and stable, so AI agents and old tutorials mostly produce working code (as long as they use the named exports).

Bad

  • It only generates QR codes, only in React: no scanning and no 1D barcodes.
  • There has been no npm release since v4.2.0 (December 2024); commits in 2026 are mostly Dependabot updates.
  • Styling is basic: there are no dot or eye shapes or gradients like QR Code Styling offers.
  • Some canvas issues stay open, such as blur at fractional zoom and no redraw when the browser zooms.

The numbers

npm downloads, 4 weeks
58M ×6.9 in a year
GitHub stars
4.3k
Commits, 12 months
18
npm version
4.2.0 Dec 2024
Versions, 12 months
0
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
4.9 out of 10, Nov 2026
Licence
ISC

Read on 21 November 2026 from GitHub (zpao/qrcode.react), npm (qrcode.react), OSV and the OpenSSF Scorecard.

QR codes and barcodes

  1. 7.9zxing-wasm
  2. 7.4bwip-js
  3. 7.2qrcode.react
  4. 6.5JsBarcode
  5. 6.1QR Code Styling
  6. 6.0node-qrcode
  7. 5.5ZXing JS
  8. 4.6jsQR
  9. 4.1html5-qrcode
Compare all 9 on six scores