QR Widget Demo

This page loads the QR widget from the current directory.

<script src="https://cloud.paulwillard.nz/qr-code-widget/qrcode.js"></script>
<script src="https://cloud.paulwillard.nz/qr-code-widget/qr-url-widget.js"></script>
<script>
  CurrentUrlQrWidget.init({
    position: "bottom-right",
    offsetX: 24,
    offsetY: 24,
    size: 200,
    label: "Scan this page",
    buttonText: "Print this QR Code"
  });
</script>

Adjust the widget by changing the options passed to CurrentUrlQrWidget.init().

Try It

Adjust the controls below to update the live widget.

24px
24px
200px