Skip to content
Q

qrcode.vue

A Vue.js component to generate qrcode. Supports both Vue 2 and Vue 3

by scopewuOpen source

#1159in UI Libraries
0In stores

Description

qrcode.vue is a Vue.js component for generating QR codes in Vue 2 and Vue 3 apps. Version 3.x targets Vue 3 and version 1.x stays on Vue 2.…

Highlights

  • Supports Vue 2 (1.x) and Vue 3 (3.x)
  • Renders as canvas or SVG, with SVG working in SSR
  • Error correction levels L, M, Q and H
  • Custom colors, logo image and gradient effects
  • Rounded module corners with a radius setting

Ratings & Reviews

No ratings yet

Be the first to rate qrcode.vue.

People also visit

C

@chenfengyuan/vue-qrcode

QR code component for Vue 3

UI Libraries
Launch
V

vue-qrcode-reader

A set of Vue.js components for detecting and decoding QR codes

UI Libraries
Launch
V

vue-qrcode-reader

A set of Vue.js components for detecting and decoding QR codes

UI Libraries
Launch
L

@lglab/react-qr-code

React library to generate QR codes

UI Libraries
Launch
L

lean-qr

minimal QR code generation

UI Libraries
Launch
Q

qrcode.react

React component to generate QR codes

UI Libraries
Launch

qrcode.vue FAQ

Which Vue versions does qrcode.vue support?

Both. Use version 3.x with Vue 3 and keep version 1.x for Vue 2.

Can it render SVG instead of canvas?

Yes. Set render-as to svg; the SVG output also works with server-side rendering. Canvas is the default.

Can I put a logo in the QR code?

Yes, through the image-settings prop.

What styling options are there?

Size, margin, background and foreground colors, gradients, and a radius prop from 0 to 0.5 that rounds the modules, up to fully circular.

Does it work with TypeScript?

Yes, the README includes a Vue 3 TypeScript usage example.

What are the best qrcode.vue alternatives?

Popular alternatives to qrcode.vue include @chenfengyuan/vue-qrcode, vue-qrcode-reader and vue-qrcode-reader. See all qrcode.vue alternatives

Developer Stuff

Badges