{"id":13493928,"url":"https://github.com/cssivision/qrcode-react","last_synced_at":"2025-03-28T13:31:24.944Z","repository":{"id":49409611,"uuid":"46727264","full_name":"cssivision/qrcode-react","owner":"cssivision","description":"a react component to generate QRCode with logo","archived":false,"fork":false,"pushed_at":"2022-07-07T03:42:06.000Z","size":344,"stargazers_count":153,"open_issues_count":15,"forks_count":32,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-13T06:35:13.927Z","etag":null,"topics":["qrcode","react"],"latest_commit_sha":null,"homepage":"http://cssivision.github.io/qrcode-react/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cssivision.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-23T14:55:09.000Z","updated_at":"2024-09-16T21:46:32.000Z","dependencies_parsed_at":"2022-09-10T11:31:18.749Z","dependency_job_id":null,"html_url":"https://github.com/cssivision/qrcode-react","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssivision%2Fqrcode-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssivision%2Fqrcode-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssivision%2Fqrcode-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssivision%2Fqrcode-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cssivision","download_url":"https://codeload.github.com/cssivision/qrcode-react/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246037323,"owners_count":20713395,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["qrcode","react"],"created_at":"2024-07-31T19:01:20.077Z","updated_at":"2025-03-28T13:31:24.622Z","avatar_url":"https://github.com/cssivision.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# qrcode-react\n\nA React component to generate [QRCode](http://en.wikipedia.org/wiki/QR_code) with logo.\nInspired by [zpao/qrcode.react](https://github.com/zpao/qrcode.react), also support chinese.\n\n## Installation\n\n```sh\nnpm install qrcode-react\n```\n\n## Usage\n\n```js\nvar React = require('react');\nvar ReactDOM = require('react-dom');\nvar QRCode = require('qrcode-react');\n\nReactDOM.render(\n  \u003cQRCode value=\"http://facebook.github.io/react/\" /\u003e,\n  mountNode\n);\n```\n\n## Available Props\n\nprop         | type                 | default value\n-------------|----------------------|-----------------------------------\n`value`      | `string`             | `http://facebook.github.io/react/`\n`size`       | `number`             | `128`\n`bgColor`    | `string` (CSS color) | `\"#FFFFFF\"`\n`fgColor`    | `string` (CSS color) | `\"#000000\"`\n`logo`       | `string` (URL / PATH)|\n`logoWidth`  | `number`             | `size * 0.2`\n`logoHeight` | `number`             | Proportional scaling to `logoWidth`\n\n\u003cimg src=\"qrcode.png\" height=\"256\" width=\"256\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcssivision%2Fqrcode-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcssivision%2Fqrcode-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcssivision%2Fqrcode-react/lists"}