QR Code Styling
Reasonable, with limits. 5th of 9 QR codes and barcodes.
QR Code Styling is a browser-first library that generates branded QR codes, with custom dot and corner shapes, gradients and a centre logo, and exports them as SVG or canvas. Among the peers it is the strongest pick for styled codes. It has had no release since April 2025 and no commits in the last year, so treat it as a working tool that is standing still.
Best for: Web apps that need branded QR codes with logos, custom dot shapes and gradients, rendered in the browser.
Scores
Overall6.1
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
If you need styled QR codes with logos in the browser, it is still the most capable and best-known choice, and it works. It has been inactive for over a year and has open bugs with SSR and Node, so new projects take on maintenance risk. For plain QR codes, node-qrcode or qrcode.react is the better default.
- github commitsLastYear: No activity in the last year
- npm-compare.com/qr-code-styling,qr-image,qrcode,qrcode-generator,react-qr-code: Best fit for branded designs; qrcode for standard output
- peers dependentRepos: Far fewer dependents than node-qrcode and qrcode.react
GPT-6.2 Sol: 6.6, likely 5.4 to 7.7
Pick QR Code Styling when custom shapes, gradients, and logos are central to the browser experience. Node-qrcode is simpler for plain QR generation, and zxing-wasm covers projects that need to read and write multiple barcode formats. A long release gap and open output bugs make the recommendation depend on how much the project needs those styling controls.
- openqr.uk/guides/open-source-qr-code-libraries: Compares plain generation in node-qrcode with styled browser output
- github.com/Sec-ant/zxing-wasm: Peer reads and writes multiple barcode formats across runtimes
- github.com/kozakdenys/qr-code-styling/pulls: Export and encoding fixes are awaiting merge
- github latestRelease, github releasesLastYear: Version 1.9.2 from April 2025 remains current
Needed by many3.4
How many developers need a tool for this job?
Claude Opus 5.5: 3.5, likely 2.5 to 5.0
Many web apps need a QR code now and then, but only some of them need branded, styled codes. The library only generates QR codes. It does not read codes or make other barcodes, and it works best in the browser. That makes it a clear niche within the category.
- github description: Focused on styled QR generation in web apps
- npm-compare.com/qr-code-styling,qr-image,qrcode,qrcode-generator,react-qr-code: Recommended for branded designs; plain qrcode suggested when standard output is enough
GPT-6.2 Sol: 3.3, likely 2.2 to 4.5
Branded QR generation serves a clear niche in web apps that create marketing, payment, or shareable codes. The browser API works across frameworks, but its scope ends at QR generation. The available sources describe use cases without measuring how many JavaScript teams need them.
- github.com/kozakdenys/qr-code-styling: Browser API and examples for several frameworks
- openqr.uk/guides/open-source-qr-code-libraries: Separates branded generation from plain encoding and scanning
Helps a lot6.9
How well does it do the job for those who need it?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
For styled QR codes it is the most capable tool in the bundle: dot and corner shapes, gradients, logos, SVG and canvas output, and built-in types. Its limits are clear. A plain import breaks SSR, Node needs extra canvas setup, users report export and SVG-renderer bugs, and the bundle is large next to minimal generators. Recent bug reports stay open without fixes.
- github.com/kozakdenys/qr-code-styling/issues: Open bugs: download format, clipPath in PDF viewers, Node canvas issues
- lightrun.com/answers/kozakdenys-qr-code-styling-facing-a-referenceerror-self-is-not-defined-while-installing-on-nextjs: Next.js SSR crash with 'self is not defined'
- github.com/kozakdenys/qr-code-styling/releases: 1.8.x fixed Node support and types; 1.9 added more corner styles
- npm-compare.com/qr-code-styling,qr-image,qrcode,qrcode-generator,react-qr-code: Large package; async exports; output differs by runtime
GPT-6.2 Sol: 7.3, likely 6.1 to 8.4
Version 1.9.2 gives browser apps fine control over QR appearance, with typed options and examples for common integrations. Node.js setup is more involved, and users report Unicode and SVG compatibility problems. QRCodeSDK's maintainers measured slower styled SVG generation in Node.js, so the performance evidence is strongest for that specific workload.
- github.com/kozakdenys/qr-code-styling: Styling controls, export formats, and Node.js setup
- npm hasTypes: Ships TypeScript declarations
- github.com/kozakdenys/qr-code-styling/issues/283: Multiple users report Unicode encoding errors
- github.com/kozakdenys/qr-code-styling/issues/309: User reports an SVG compatibility issue in Affinity Designer
- qrcodesdk.dev/learn/performance: Competing library's Node.js benchmark reports lower styled SVG throughput for 1.9.2
Holds up over time3.5
Will it still be a good choice in two years?
Claude Opus 5.5: 3.5, likely 2.5 to 5.0
There were no commits or releases in the last year, and the last release was in April 2025. Issues keep coming in without fixes, and pull requests pile up. It looks like a single maintainer with no visible funding, and forks have appeared to fix problems. It is not archived, and the code is stable enough to keep working, so it is not rated lower.
- github commitsLastYear: 0 commits, 0 releases last year
- npm latestPublishedAt: v1.9.2 on 2025-04-11
- github openPullRequests: 25 open PRs against 60 merged
- github.com/kozakdenys/qr-code-styling/issues: New bug reports through Sep 2026 without responses
GPT-6.2 Sol: 3.4, likely 2.1 to 4.7
The main branch recorded zero commits in the past year, and the last release was in April 2025. Contributors are still submitting fixes, but pull requests for SVG compatibility and Unicode support have been open for roughly a year or longer. Past patch releases fixed regressions, but the current pace makes it hard to count on timely fixes.
- github commitsLastYear, releasesLastYear, latestRelease: Zero commits and releases in the past year
- github.com/kozakdenys/qr-code-styling/pulls: Long-open Unicode and SVG fixes alongside newer contributions
- github.com/kozakdenys/qr-code-styling/releases: Past patches fixed rounded-corner and browser-image regressions
Used widely4.4
How many use it, and is that growing?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
Downloads in the last 4 weeks were about 4.8M, up from 0.88M a year ago. That ratio of 5.5 is above the 4.1 median but below most peers, which grew 6 to 9 times. It has 450 dependent repositories, far fewer than node-qrcode (31.6k) or qrcode.react (19k), which points to tens of thousands of direct users. Part of the download count likely comes from installs through other packages.
- npm downloadsLast4Weeks: 4.79M versus 0.88M a year ago
- dependents: 450 repos, 72 packages
- github stars: 2,986 stars, 696 forks
- bluesky posts: Only 3 posts, all from bots or link-sharing accounts
GPT-6.2 Sol: 3.8, likely 2.6 to 5.0
Four-week downloads rose from 876,000 to 4.79 million, or 5.48 times the prior year. That beats the 4.1 times catalog median, but seven of eight peers grew faster. The 450 tracked repositories and 72 dependent packages show real use, although partial repository coverage and repeat installs leave the number of direct adopters uncertain.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio: 5.48 times year-over-year growth versus a 4.1 times median
- dependents, peers: 450 repositories and 72 packages, far fewer tracked repos than node-qrcode or qrcode.react
- github stars, bluesky posts: 2,986 stars and three Bluesky posts with no engagement
Vouched for4.5
Who stands behind it being good?
Claude Opus 5.5: 3.5, likely 2.0 to 5.0
Comparison sites and tutorials name it as the go-to library for branded QR codes, and wrappers exist for Nuxt and Angular. Solana Labs keeps a fork of it. I found no survey data, no independent benchmarks, and no Hacker News discussion. The forks that exist to fix scanner and maintenance problems weaken the signal.
- dev.to/benuuts/how-to-use-qr-code-styling-in-nuxt-3-1pno: Community tutorial for Nuxt use
- socket.dev/npm/package/@solana/qr-code-styling: Solana publishes a fork
- hackerNews stories: No HN stories
GPT-6.2 Sol: 5.5, likely 4.1 to 6.8
OpenQR and Universal QRs use it for rendering, and the jb-qrcode web component builds on it. Siemens listed an older prerelease in its Portal Frontend inventory. This shows independent use, while the available developer survey provides no satisfaction or retention measure for the library.
- openqr.uk/guides/open-source-qr-code-libraries: OpenQR uses it and recommends it for branded output
- github.com/universal-simulation-ltd/Universal_QR: Uses it for QR generation in a deployed browser app
- github.com/javadbat/jb-qrcode: Uses it as the renderer for a published web component
- support.industry.siemens.com/cs/attachments/109975373/PortalFrontend__v1.1.3__ClearingReport.pdf: Siemens inventory lists version 1.6.0-rc.1
- 2025.stateofjs.com/en-US/libraries: Published library results omit QR tooling
Safe7.0
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 5.5 to 8.0
It has no advisories, one runtime dependency and the MIT licence, so the attack surface is small. There is no OpenSSF Scorecard, and publishing seems to rest on one maintainer's npm account. With no activity, any future issue may be fixed slowly.
- advisories total: 0 advisories
- npm dependencies: 1 dependency
- scorecard: No Scorecard data
- npm license: MIT
GPT-6.2 Sol: 7.0, likely 5.6 to 8.3
The MIT-licensed package declares one runtime dependency, and OSV records no advisories. The 1.9.2 GitHub Actions workflow published with an npm token. The missing public security policy and Scorecard, along with limited visibility into publisher access, leave patch response and release controls uncertain.
- npm license, npm dependencies, advisories, scorecard: MIT, one runtime dependency, zero OSV advisories, and no Scorecard result
- github.com/kozakdenys/qr-code-styling/blob/v1.9.2/.github/workflows/release.yml: GitHub Actions release workflow uses an npm token
- github.com/kozakdenys/qr-code-styling/security: GitHub lists no public security policy or published advisories
Good
- It has the richest styling of the peers: dot and corner shapes, gradients, a logo with automatic error-correction space, and SVG or canvas output.
- It pulls in only one runtime dependency (qrcode-generator), ships TypeScript types and uses the MIT licence.
- It has an object API with append, update and download, plus a live designer on qr-code-styling.com that exports options as JSON.
- It has no known security advisories in OSV.
Bad
- It has had no release since v1.9.2 in April 2025 and no commits in the last year, with 92 open issues and 25 open pull requests.
- Importing it in Next.js or other SSR code fails with 'self is not defined' unless you load it dynamically on the client.
- Node use needs an external canvas or jsdom setup, and users have open issues about wrong formats and missing support for newer canvas packages.
- Heavy styling can make codes that some scanners reject, so you must test scannability yourself.
The numbers
- npm downloads, 4 weeks
- 4.8M ×5.5 in a year
- GitHub stars
- 3k
- Commits, 12 months
- 0
- npm version
- 1.9.2 Apr 2025
- Versions, 12 months
- 0
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
Read on 21 November 2026 from GitHub (kozakdenys/qr-code-styling), npm (qr-code-styling), OSV and the OpenSSF Scorecard.
QR codes and barcodes
- 7.9zxing-wasm
- 7.4bwip-js
- 7.2qrcode.react
- 6.5JsBarcode
- 6.1QR Code Styling
- 6.0node-qrcode
- 5.5ZXing JS
- 4.6jsQR
- 4.1html5-qrcode