
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
@syncfusion/ej2-vue-barcode-generator
Advanced tools
Barcode generator component is a pure JavaScript library which will convert a string to Barcode and show it to the user. This supports major 1D and 2D barcodes including coda bar, code 128, QR Code. for Vue
The Vue Barcode (QR Code) Generator Component is a light-weight and high-performance control that displays industry-standard 1D and 2D barcodes in Angular applications. Generated barcodes are optimized for printing and on-screen scanning. It is designed for ease of use and does not require fonts.
Getting started . Online demos . Learn more
Trusted by the world's leading companies
You can use Vue CLI
to setup your Vue 2 applications.To install Vue CLI use the following commands.
npm install -g @vue/cli
vue create quickstart
cd quickstart
npm run serve
Initiating a new project prompts us to choose the type of project to be used for the current application. Select the option Default ([Vue 2] babel, eslint)
from the menu.
All Syncfusion Vue packages are published in npmjs.com registry. To install Vue barcode package, use the following command.
npm install @syncfusion/ej2-vue-barcode-generator --save
You can register the Barcode component in your application by using the Vue.use(). Refer to the code example given below.
import { BarcodeGeneratorPlugin } from '@syncfusion/ej2-vue-barcode-generator';
Vue.use(BarcodeGeneratorPlugin);
Registering BarcodeGeneratorPlugin in vue, will register the barcode component along with its required child directives globally.
Add the Vue Barcode by using ejs-barcodegenerator selector in template section of the App.vue file.
<template>
<div id="app">
<ejs-barcodegenerator
id="barcode"
:width="width"
:height="height"
:type="type"
:value="value"
:mode="mode"
></ejs-barcodegenerator>
</div>
</template>
<script>
import Vue from "vue";
import { BarcodeGeneratorPlugin } from "@syncfusion/ej2-vue-barcode-generator";
Vue.use(BarcodeGeneratorPlugin);
export default {
data() {
return {
width: "200px",
height: "150px",
mode: "SVG",
type: "Ean8",
value: "11223344",
};
},
}
</script>
Barcode component is also offered in the following list of frameworks.
JavaScript | Angular | Vue | ASP.NET Core | ASP.NET MVC |
---|
Product support is available through the following mediums.
Check the changelog here. Get minor improvements and bug fixes every week to stay up to date with frequent updates.
This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. To acquire a license for 80+ Vue UI components, you can purchase or start a free 30-day trial.
A free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
See LICENSE FILE for more info.
© Copyright 2025 Syncfusion® Inc. All Rights Reserved. The Syncfusion® Essential Studio® license and copyright applies to this distribution.
FAQs
Barcode generator component is a pure JavaScript library which will convert a string to Barcode and show it to the user. This supports major 1D and 2D barcodes including coda bar, code 128, QR Code. for Vue
The npm package @syncfusion/ej2-vue-barcode-generator receives a total of 230 weekly downloads. As such, @syncfusion/ej2-vue-barcode-generator popularity was classified as not popular.
We found that @syncfusion/ej2-vue-barcode-generator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.