QRCode
Encodes a string as a scannable QR code. Built on react-native-svg, so it renders the same on iOS, Android, and the web. The code stays a fixed dark-on-white card so any camera can read it, whatever the app theme.
iOS
Android
Web
tsx
Default
Small
Large
Props
Do & Don’t
Keep it scannable
Don’t
Shrinking a data-dense value to the small size drops the modules below a reliably scannable density.
Do
Leave the fixed dark-on-white card in place so the code stays high-contrast for any camera.