Native only

Code scanner

QR/barcode viewfinder · simulated emits a sample payload

Code scannerNative only

Usage

QR and barcode viewfinder. Without a camera it shows the same framing overlay plus a button that emits a sample payload, so the flow behind it stays demonstrable.

API

<CodeScanner onScan types? hint? ratio? continuous? simulatedValues? simulate? />

Get it

Already in every copy of the native kit:

import { CodeScanner } from '@/components/kit/code-scanner';

Details

Exports
CodeScanner
Packages
expo-camera@~57.0.5, lucide-react-native@^1.21.0
Installs with
@halftone-native/button, @halftone-native/icon, @halftone-native/lib-haptics, @halftone-native/lib-native-context, @halftone-native/lib-utils, @halftone-native/permission-primer, @halftone-native/placeholder, @halftone-native/text
Also searched as
qr, barcode, scan, camera viewfinder

Agents: the whole registry is at /llms.txt.