svelte-simple-qrcode

Superbly simple svelte-wrapper for the great qrcode-library

Install this thingy-bob

npm install --save svelte-simple-qrcode

Usage

<script>
    import QrCode from 'svelte-simple-qrcode';
    let qrcode = '';
</script>
<div>
    <input type="text" placeholder="qrcode"  bind:value={qrcode} />
    <QrCode width='150px' code="{qrcode}" />
</div>

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes