QRCode
Generates a QR code from provided content such as URLs, text, or vCard data. Suitable for shareable links, tickets, payments, and contact information.
QRCode
Generates a QR code from provided content such as URLs, text, or vCard data. Suitable for shareable links, tickets, payments, and contact information.
Use Cases
- Event tickets with scannable entry codes
- Product detail pages with shareable QR
- Payment links (crypto, payment apps)
- vCard contact sharing
- App download links
Properties
content
Content to encode (URL, text, vCard, etc.) Type: string. Required.
size
QR code size in pixels (square) Type: number. Default: 200
errorCorrection
Error correction level (L=7%, M=15%, Q=25%, H=30% recovery) Type: string. Options: L, M, Q, H. Default: M
backgroundColor
Background color (hex) Type: string. Default: #ffffff
foregroundColor
QR code color (hex) Type: string. Default: #000000
dataBinding
Data binding to dynamically generate QR from data source field Type: object.
Best Practices
- Keep content concise - shorter URLs/text produce cleaner QR codes
- Use size 150-250px for most displays
- Higher error correction (H) for printed materials, lower (L) for screens
- Test QR codes with multiple scanner apps before deploying