All Projects → gerardreches → vue-qrcode-component

gerardreches / vue-qrcode-component

Licence: MIT license
Create QR codes with a simple Vue component

Programming Languages

Vue
7211 projects

Projects that are alternatives of or similar to vue-qrcode-component

vue-flag-icon
a vue compoment for flag-icon-css
Stars: ✭ 64 (-34.02%)
Mutual labels:  vue-components
vuex-router
Move a Vue app's location state into the Vuex store. Allows super-easy page-based routing with built-in slide transitions.
Stars: ✭ 20 (-79.38%)
Mutual labels:  vue-components
vue-json-form
vue-json-form
Stars: ✭ 14 (-85.57%)
Mutual labels:  vue-components
vue-base64-file-upload
Upload files as base64 data-uris
Stars: ✭ 77 (-20.62%)
Mutual labels:  vue-components
vue-datamaps
It is a Vue port of the javascript-based DataMaps
Stars: ✭ 14 (-85.57%)
Mutual labels:  vue-components
Vuc
🎨 基于 Vuejs2 的 Canvas 组件库【服务器挂了。不在提供demo,github自带的静态网站不能发布,因为demo代码找不到了😂。】
Stars: ✭ 52 (-46.39%)
Mutual labels:  vue-components
vue-datatables
No description or website provided.
Stars: ✭ 22 (-77.32%)
Mutual labels:  vue-components
vue-scrolly
Overlay scrollbar for Vue.js.
Stars: ✭ 24 (-75.26%)
Mutual labels:  vue-components
pop-vue
Vue components designed to look like Pop!_OS
Stars: ✭ 22 (-77.32%)
Mutual labels:  vue-components
special-vue-series-code-analyzing
「Vue生态库源码系列」,Vue、Vue-router、Vuex、Vue-cli、Vue-loader、Vue-devtools等
Stars: ✭ 15 (-84.54%)
Mutual labels:  vue-components
v-video-embed
This is a component for Vue.js to utilize YouTube, Vimeo, DailyMotion, Coub iframe API easily
Stars: ✭ 35 (-63.92%)
Mutual labels:  vue-components
vue-willtable
An editable table component for Vue.js 2.0
Stars: ✭ 119 (+22.68%)
Mutual labels:  vue-components
vue-checkbox-switch
A Vue component for checkbox's switch style
Stars: ✭ 36 (-62.89%)
Mutual labels:  vue-components
vue-data-table
Smart table using vue.js - sorting columns, filter by string, child rows, custom columns, custom row data
Stars: ✭ 15 (-84.54%)
Mutual labels:  vue-components
aura-admin
Aura Admin is the Web App that helps you to mange the Tech Communities like GDGs, DSCs or any other tech communities with Aura
Stars: ✭ 58 (-40.21%)
Mutual labels:  vue-components
vue-frame
Dynamic component for creation of interfaces with iframes
Stars: ✭ 47 (-51.55%)
Mutual labels:  vue-components
VueStudy
Vue Examples
Stars: ✭ 44 (-54.64%)
Mutual labels:  vue-components
vue-undraw
Vue unDraw Components: MIT licensed illustrations by unDraw (http://undraw.co) for your Vue projects
Stars: ✭ 31 (-68.04%)
Mutual labels:  vue-components
vue2-timeago
🙌 A vue component used to format date with time ago statement. 💬
Stars: ✭ 76 (-21.65%)
Mutual labels:  vue-components
vuestic-ui
Free and Open Source UI Library for Vue 3 🤘
Stars: ✭ 1,501 (+1447.42%)
Mutual labels:  vue-components

vue-qrcode-component

Create QR codes with a simple Vue component

Demo and Documentation on GitHub Pages

Installation

Install the package:

// Using NPM
npm install vue-qrcode-component

// or Yarn
yarn add vue-qrcode-component

Then register the component:

import Vue from 'vue'
import VueQRCodeComponent from 'vue-qrcode-component'
Vue.component('qr-code', VueQRCodeComponent)

Now you can use it as

<qr-code text="Text to encode"></qr-code>

Usage

Props

prop type required default validation
text String true
size Number false 256
color String false '#000'
bg-color String false '#FFF'
error-level String false 'H' Only accepts 'L', 'M', 'Q' or 'H'.

Note: size prop uses pixels units.

Example

We will generate a QR code that gives an URL on decode. It measures 500x500 px, uses a yellow color for the code and a blue color for the background. This QR will use a Low error correction level.

<qr-code 
    text="https://goo.gl/9eIWP9"
    size="500"
    color="#f1c40f"
    bg-color="#3498db" 
    error-level="L">
</qr-code>

Help

Feel free to open an issue if you have any problem using this component.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].