QR Code encoder and renderer. Demo.
import QRCode
qrCode : Html msg
qrCode =
let
resultQRCode = QRCode.toSvg "Hello world"
in
case resultQRCode of
Result.Ok view -> view
Result.Err err -> Html.text (toString err)If you would like more functionalities, please open an issue on github.
toSvgWithECLevel;ECLevel;Thank you Carolyn Eby, for creating this great tutorial on how QR Code works.
Thank you Evan for bringing joy to the frontend.