# @rc-component/qrcode

> base abstract trigger component for react

Latest version **2.0.0** (published 2026-06-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install @rc-component/qrcode
pnpm add @rc-component/qrcode
yarn add @rc-component/qrcode
bun add @rc-component/qrcode
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2026-06-11 |
| First published | 2024-06-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=8.x |
| Dependencies | 1 |
| Unpacked size | 133.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Maintainers | zombiej, afc163, madccc, peachscript, chenshuai2144 |
| Keywords | react, react-component, react-qrcode, qrcode |

## Links

- npm: https://www.npmjs.com/package/@rc-component/qrcode
- Repository: https://github.com/react-component/qrcode
- Issues: https://github.com/react-component/qrcode/issues
- npm.io page: https://npm.io/package/@rc-component/qrcode

## Dependencies (1)

- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.24.7

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2026-06-11
- 1.1.3 — 2026-06-11
- 1.1.2 — 2026-06-05
- 1.1.1 — 2025-11-28
- 1.1.0 — 2025-09-18
- 1.0.1 — 2025-09-17
- 1.0.0 — 2024-06-20

## README

# @rc-component/qrcode

React QRCode Component

[![NPM version][npm-image]][npm-url]
[![npm download][download-image]][download-url]
[![build status][github-actions-image]][github-actions-url]
[![Test coverage][codecov-image]][codecov-url]
[![bundle size][bundlephobia-image]][bundlephobia-url]
[![dumi][dumi-image]][dumi-url]

[npm-image]: http://img.shields.io/npm/v/@rc-component/qrcode.svg?style=flat-square
[npm-url]: http://npmjs.org/package/@rc-component/qrcode
[travis-image]: https://img.shields.io/travis/react-component/qrcode/master?style=flat-square
[travis-url]: https://travis-ci.com/react-component/qrcode
[github-actions-image]: https://github.com/react-component/qrcode/workflows/CI/badge.svg
[github-actions-url]: https://github.com/react-component/qrcode/actions
[codecov-image]: https://img.shields.io/codecov/c/github/react-component/qrcode/master.svg?style=flat-square
[codecov-url]: https://app.codecov.io/gh/react-component/qrcode
[david-url]: https://david-dm.org/react-component/qrcode
[david-image]: https://david-dm.org/react-component/qrcode/status.svg?style=flat-square
[david-dev-url]: https://david-dm.org/react-component/qrcode?type=dev
[david-dev-image]: https://david-dm.org/react-component/qrcode/dev-status.svg?style=flat-square
[download-image]: https://img.shields.io/npm/dm/@rc-component/qrcode.svg?style=flat-square
[download-url]: https://npmjs.org/package/@rc-component/qrcode
[bundlephobia-url]: https://bundlephobia.com/package/@rc-component/qrcode
[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/@rc-component/qrcode
[dumi-url]: https://github.com/umijs/dumi
[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square

## Install

[![@rc-component/qrcode](https://nodei.co/npm/@rc-component/qrcode.png)](https://npmjs.org/package/@rc-component/qrcode)

## Usage

## Example

http://localhost:8001

## Development

```
npm install
npm start
```

## API

### props

## API

| Name | Type | Default | Description |
| ---- | ---- | ------- | ----------- |

## Test Case

```
npm test
npm run coverage
```

open coverage/ dir

## License

rc-qrcode is released under the MIT license.

### Refs

- Util part is from [qrcode.react](https://github.com/zpao/qrcode.react) under ISC license.
- QR Code generation part is from [qrcode-generator](https://www.nayuki.io/page/qr-code-generator-library) under MIT license.

## 🤝 Contributing 

<a href="https://openomy.app/github/react-component/qrcode" target="_blank" style="display: block; width: 100%;" align="center">
  <img src="https://www.openomy.app/svg?repo=react-component/qrcode&chart=bubble&latestMonth=24" target="_blank" alt="Contribution Leaderboard" style="display: block; width: 100%;" />
</a>

---
_Source: https://npm.io/package/@rc-component/qrcode · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
