QR Code API
API reference docs for theQR Code
component. For examples and details on the usage of this component, visit the component demo page.
Props
Prop | Type | Description | Default |
---|---|---|---|
value | string | The data to encode in the QR code (URL, text, email, phone, etc.). | _ |
size? | 64 | 120 | 160 | The 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' |