The <luna-qr-code> component generates QR codes dynamically with customizable styling and error correction levels.
Paths
/lunadom/components/qr-code/qr-code.js /lunadom/components/qr-code/qr-creator.min.js QR Code Examples
Rounded + Color
Classic + Padding
WiFi + Custom Radius
Live Generator
Type below to generate a QR code in real-time.
Customization
value - Content to encode in the QR codesize - Size in pixels (default: 200)radius - Module corner radius (0-1) (default: 0)padding - Padding around the QR code (default: 0)fill - QR code module color (default: #000)background - Background color (default: #fff)ec-level - Error correction level (L, M, Q, H) (default: 'M')--luna-qr-color - The default color of the QR code modules--luna-qr-bg - The default background color of the QR code--luna-qr-radius - The border radius of the rendered canvas