QR Code API

API reference docs for theQR Codecomponent. For examples and details on the usage of this component, visit the component demo page.

Props

PropTypeDescriptionDefault
valuestringThe data to encode in the QR code (URL, text, email, phone, etc.)._
size?64 | 120 | 160The size of the QR code in pixels.120
errorLevel?'L' | 'M' | 'Q' | 'H'Error correction level. L = ~7%, M = ~15%, Q = ~25%, H = ~30% recovery.'L'