Indielayer UI - Vue.js 3 / Nuxt.js 3 UI Library with Tailwind CSS 4. ⚡️  Build and prototype fast web applications.

Indielayer
Indielayer UIIndielayer UI
UI
v2.1.0

QR Code

Renders a QR code from a string or URL for scanning with mobile devices. Use it for share links, payments, and quick machine-readable payloads.

#
Usage

Basic example with common props.

#API

QrCode

props

Name
Description
Type
Default
Values
Required
value
Text or URL encoded in the QR code.
String
color
Foreground module color.
String
#000
backgroundColor
Background color behind the modules.
String
#fff
size
Rendered size of the QR canvas in pixels.
String
Number
100
errorCorrectionLevel
Error correction level (L, M, Q, or H).
String
M
LMQH