@kroszborg/rune-wc
v0.2.0
Published
Vanilla JS + Web Component (<rune-qr>) for Rune — customizable QR codes with no framework.
Maintainers
Readme
@kroszborg/rune-wc
Vanilla JS + Web Component for Rune — customizable QR codes with no framework.
pnpm add @kroszborg/rune-wcFunction
import { renderRune } from '@kroszborg/rune-wc';
renderRune(document.querySelector('#qr')!, {
value: 'https://example.com',
dots: { style: 'rounded' },
});<rune-qr> custom element
import { register } from '@kroszborg/rune-wc';
register();<rune-qr value="https://example.com" dot-style="rounded" preset="mint"></rune-qr>Attributes: value, size, margin, dot-style, dot-color, background, ecl,
preset, aria-label. For full configuration, set the element's .options property to a
RenderOptions object.
MIT © 2026 Abhiman Panwar
