SVG QR Code Generator For React

A React component for rendering customizable, scalable, SVG based QR codes on the app.

Installation:

# NPM
$ npm install react-qr-svg --save

Usage:

import React from 'react';
import { QRCode } from 'react-qr-svg';

class Demo extends React.Component {
  render() {
    return (<QRCode
        bgColor="#FFFFFF"
        fgColor="#000000"
        level="Q"
        style={{ width: 256 }}
        value="some text"
    />);
  }
}

Props.

value = '',
level = 'L',
bgColor = '#FFFFFF',
fgColor = '#000000',

Preview:

SVG QR Code Generator For React

Download Details:

Author: no23reason

Live Demo: View The Demo

Download Link: Download The Source Code

Official Website: https://github.com/no23reason/react-qr-svg

License: MIT

You Might Be Interested In:

Tags:

Add Comment