Skip to content
CONTENT · FREE

QrCode

Create QR codes in your page, with no image service.

Draw QR codes right in your page as plain graphics, with no image service and no script.

Why it helps

  • No external service
  • Prints black on white
  • Large texts supported

Where it fits

  • Tickets
  • Sharing links
  • Payments info
QrCode control in a RayCraft page

Example

<TextField @bind-Value="_text" Label="Text or address" MaxLength="200" ShowCounter="true" />
<QrCode Value="@(_text ?? string.Empty)" Label="@("QR code for " + _text)" />

@code {
    private string? _text = "https://learn.microsoft.com/aspnet/core/blazor";
}

A short fragment. Add @using RayCraft.Blazor.Components to your page and use an interactive render mode.

Included in RayCraft Free. Working examples are in the GitHub repository (MIT); it holds example and demo code, not the library code.

All controls ยท Documentation