rnb

@kichiyaki/react-native-barcode-generator

A React-Native component for generating barcodes.

Showing:

Popularity

Downloads/wk

686

GitHub Stars

9

Maintenance

Last Commit

2mos ago

Contributors

2

Package

Dependencies

1

License

MIT

Type Definitions

Built-In

Tree-Shakeable

No?

Categories

Readme

@kichiyaki/react-native-barcode-generator

Screenshot

A React-Native component for generating barcodes.

Installation

Using npm:

npm install --save react-native-svg @kichiyaki/react-native-barcode-generator

or using yarn:

yarn add react-native-svg @kichiyaki/react-native-barcode-generator

Properties

PropTypeDescription
valuestringthe text to be encoded
widthnumberthe width of a single bar
maxWidthnumberthe max width of the barcode
heightnumberthe height of the barcode
formatstringselect which barcode type to use
lineColorstringset the color of a single bar
backgroundstringset the color of the container
textcomponentan optional text that will be render under the barcode
textStyleobjectstyles to be applied on the text component
styleobjectstyles to be applied on the container
onErrorfunctionan optional error handler

Supported formats

Only flat versions are available for now.

  • CODE39
  • CODE128
  • CODE128A
  • CODE128B
  • CODE128C
  • EAN13
  • EAN8
  • EAN5
  • EAN2
  • UPC
  • UPCE
  • ITF14
  • ITF
  • MSI
  • MSI10
  • MSI11
  • MSI1010
  • MSI1110
  • pharmacode
  • codabar

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100