<div align="center">
npm install svelte-qrcodesvelte-qrcode




QR Code generator for Svelte & SvelteKit
Generate from QR Code with style, logo, and Error Level Rate that serve to avoid errors if the QR Code is damaged.
```
npm i svelte-qrcode
// OR
yarn add svelte-qrcode
Local demo:
``
git clone https://github.com/JonasJs/svelte-qrcode.git
cd svelte-qrcode
yarn install && yarn start
An example of how to use the library:
`js`
`html`
You can control many aspects of the QR code using the following props:
| Prop | Type | Description | Default |
| ---------- | ------ | -------------------------------------------------- | ----------- |
| background | String | Background color of the QR code | "#FFFFFF" |"#000000"
| color | String | Foreground color of the QR code | |"L"
| errorCorrection | String | Error correction level of the QR code (L, M, Q, H) | |0
| padding | Number | Padding for the QR code (pixels) | |200
| size | Number | Size of the QR code (pixels) | |""` |
| value | String | Value encoded within the QR code |
Download stats for this NPM package

Svelte Adress Autocomplete is open source software licensed as MIT.