Skip to main content

Scanner

Scan barcodes and QR codes.

A button to open the camera and capture barcodes using the device's camera. It supports skipping and confirmations for continuous scanning.

Scanner

Properties

autoClose
boolean

Whether to close the scanner after a single scan or continue scanning barcodes until manually closed.

buttonSize
`small` | `large`

The size of the component.

buttonText
string

The primary text content.

data
object[]

Source data for the component.

disabled
boolean

Whether user input, interaction, or selection is disabled.

hidden
boolean

Whether the component is visible.

iconAfter
IconKey

The key of an icon to display after the primary content.

iconBefore
IconKey

The key of an icon to display before the primary content.

id
string

The name of the component.

opened
boolean

Whether the component is currently open.

pluginType
string

The component type.

width
'full' | 'fixed'

Whether the component's width is full or fixed.

Supported barcodes

Mobile Scanner supports a range of barcode formats on iOS and Android.

NameShort nameiOSAndroid
Aztec Codeaztec
Codabarcodabar
Code 39code39
Code 39 with 43 check digitcode39mod43
Code 93code93
Code 128code128
Data Matrixdatamatrix
EAN-13ean13
EAN-8ean8
Interleaved 2 of 5interleaved2of5
ITF-14itf14
MaxiCodemaxicode
PDF417pdf417
RSS 14rss14
RSS Expandedrssexpanded
UPC-Aupc_a
UPC-Eupc_e
UPC/EAN-13upc_ean
QRqr