QRCode component

A component used to generate QR codes.

Installation

NuGet

Install extension from NuGet.
Install-Package Blazorise.QRCode

Imports

In your main _Imports.razor add:
@using Blazorise.QRCode

Examples

Basic

To generate a QR code you only need to define a Value parameter.
<QRCode Value="https://blazorise.com" />

Attributes

Name Description Type Default
Value Value used for QR code generation. string
Payload Custom payload used for QR code generation. PayloadGenerator.Payload null
Alt Image alt text. string null
EccLevel Error correction level. EccLevel L
DarkColor Color used as dark color. #000000
LightColor Color used as light color. #ffffff
PixelsPerModule Pixels per module. int 10
DrawQuietZones Draw quiet zones (blank margins around QR Code image). bool true