Skip to content
Devix Open Source

Playground

Turn the options and watch it change. The code below changes with it, in whichever framework you are using — copy it and you have what is on the screen.

Live
import { createQrCode } from '@devix-labs/qr-code';
import '@devix-labs/qr-code/styles.css';

createQrCode(document.querySelector('#target'), {
  value: 'https://devix.pk/resources',
  level: 'M',
  size: 192,
  margin: 4
});

Every option here is in the documentation, along with the ones that are not worth a control.