QrCode

Data Display

A QR code for a URL or any text, drawn as vector graphics when the page is built.

QrCode(value, color: …, background: …)

Renders with the class wf-qr, stable across releases, so a stylesheet may target it.

Props of QrCode
Prop Type Meaning
value String (positional)

What it encodes

color: String

The colour of the dark modules

background: String

The colour behind them

Attribute families: global, aria, data. Plus the universal props on every element: animate:, exit:, speed:, class:, ref:.