Skip to content

QR Code

A QR code encodes a string, e.g. a URL, as an image which a phone camera can scan. To scan codes instead, use the QR Code Reader.

QR Code

QrCode("https://www.nago.dev").
	AccessibilityLabel("QR code linking to nago.dev").
	Frame(Frame{}.Size(L200, L200))

Constructors

ConstructorDescription
func QrCode(value string) TQrCodeCreates a QR code for the given value.

Methods

MethodDescription
AccessibilityLabel(label string) TQrCodeAccessibilityLabel sets a label for screen readers, improving accessibility.
Frame(frame Frame) TQrCodeFrame sets the layout frame for the QR code.

Related