zpao/qrcode.react

A <QRCode/> component for use with React.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 42 minutes ago
Added to GitGenius on September 16th, 2026
Created on March 16th, 2014
Open Issues & Pull Requests: 37 (+0)
GitHub issues: Enabled
Number of forks: 340
Total Stargazers: 4,286 (+0)
Total Subscribers: 22 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.3 days
Mean response time: 10.7 days
90th percentile: 27.9 days
Tracked items: 23

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 11
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 977 days
Stale 30+ days: 11
Stale 90+ days: 10

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (3)
  • canvas (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

qrcode.react is a React component library that generates QR codes for rendering to the DOM.

The tool solves the problem of embedding QR codes in React applications by providing two rendering options: SVG and Canvas. SVG is the default recommendation due to its flexibility, though Canvas may be preferable in some scenarios. The component accepts a value to encode and supports customization through props including size, error correction level, foreground and background colors, margin size, and minimum QR code version. It also supports embedding images within QR codes through the imageSettings prop, and includes a boostLevel option that automatically increases error correction if possible without increasing code complexity.

Developers should choose this tool when building React applications that need QR code generation without external dependencies or API calls. It suits projects ranging from simple QR code displays to more complex use cases like embedding logos within codes. The component works with both modern JavaScript modules and CommonJS require syntax, making it compatible with various project setups.

The project maintains active engagement with its codebase, regularly addressing issues and pull requests. Development shows responsiveness to user feedback, as evidenced by deprecation warnings and migration paths for API changes. The maintainers demonstrate attention to specification compliance, such as enforcing the QR Code standard requirement of four modules for margin while allowing customization. TypeScript support is built in, providing type safety for developers using the library.