Optional
imageUse a custom image fetching & serializaton implementation
The data will be encoded in the QR code
Optional
imageThe image will be copied to the center of the QR code
QR code shape
Options will be passed to @liquid-js/qrcode-generator
lib
Optional
mode?: "numeric" | "alphanumeric" | "byte" | "kanji" | "unicode"Image mode
Fill blank areas of the code with selected color
Color of QR dots
Optional
gradient?: GradientGradient of Corners Dot
Coefficient of the image size
Margin of the image (in blocks)
Optional
crossOrigin?: stringQR dot size (in pixels)
Color of QR dots
Optional
gradient?: GradientGradient of QR dots
Style of QR dots
Optional
cornersCorners Square options, omitted values match dots
Optional
color?: stringColor of Corners Square
Optional
gradient?: GradientGradient of Corners Square
Optional
type?: "dot" | "extra-rounded" | "classy" | "square" | "outpoint" | "inpoint"Style of Corners Square
Optional
cornersCorners Dot options, omitted values match squares
Optional
color?: stringColor of Corners Dot
Optional
gradient?: GradientGradient of Corners Dot
Optional
type?: "dot" | "extra-rounded" | "classy" | "square" | "heart" | "outpoint" | "inpoint"Style of Corners Dot
Optional
backgroundQR background styling options, false to disable background
Optional
round?: numberBackground roundnes, from 0 (square) to 1 (circle)
Optional
color?: stringBackground color
Optional
gradient?: GradientBackground Gradient
Optional
margin?: numberMargin (in blocks) between background and the QR code
Optional
stringimport { stringToBytesFuncs } from "@liquid-js/qr-code-styling/kanji";
to add Kanji support
Use a custom DOM domplementation