You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-native-barcode-sked

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-barcode-sked

React Native component to generate barcodes. Uses [JsBarcode](https://github.com/lindell/JsBarcode) for encoding of data. SKED forked this project to add support for svg since the original library used ART which is no longer supported.

2.0.2
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

react-native-barcode-sked

React Native component to generate barcodes. Uses JsBarcode for encoding of data. SKED forked this project to add support for svg since the original library used ART which is no longer supported.

Getting started

Step 1

This library uses react-native-svg to draw vector graphics.

Step 2

Install react-native-barcode-sked:

    npm install react-native-barcode-sked --save

Step 3

Start using the component

import Barcode from "react-native-barcode-sked";

<Barcode value="Hello World" format="CODE128" />;

You can find more info about the supported barcodes in the JsBarcode README.

demo

Properties

PropertyDescription
valueWhat the barcode stands for (required).
formatWhich barcode type to use (default: CODE128).
widthWidth of a single bar (default: 2)
heightHeight of the barcode (default: 100)
textOverride text that is displayed.
lineColorColor of the bars and text (default: #000000)
backgroundBackground color of the barcode (default: #ffffff)
onErrorHandler for invalid barcode of selected format

Keywords

react-native

FAQs

Package last updated on 27 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.