
Description
vue-qrcode is a QR code component for Vue 3, built on the node-qrcode library. You place a vue-qrcode element in a template and pass the text or link as its value, and it renders the code. The tag prop chooses the output, a canvas, an img or an SVG. Options cover colors, width and error correction level. To put a logo in the middle, you raise the error correction level so the code can tolerate covered modules, then place an image over the center, as the docs show. A ready event hands you the canvas, so you can draw on it yourself, for example to add an image after the code is rendered. The docs page shows basic usage, adding options, custom tags, logo covering, drawing and the props and events. It is for developers building a Vue 3 app who need to show a QR code for a link or a piece of text without writing the drawing code themselves. The source is public on GitHub and the project includes a license file and a changelog.…
Highlights
- QR code component for Vue 3
- Renders canvas, img or SVG output
- Color, width and error correction options
- Logo overlay in the center of the code
- Ready event for custom canvas drawing
Ratings & Reviews
No ratings yet
Be the first to rate @chenfengyuan/vue-qrcode.
People also visit
@chenfengyuan/vue-qrcode FAQ
What is vue-qrcode?
A Vue 3 component that renders a QR code from a value you pass to it.
How do I use it?
Add the vue-qrcode component to a template and set its value prop to the text or link you want encoded.
Can I add a logo?
Yes. The docs show placing an image over the center of the code, with the error correction level set to Q so the code still reads.
Can I output an SVG?
Yes. Set the tag prop to svg. The docs show a width option for it.
What is it built on?
The docs say it is based on node-qrcode.
Is it free?
Yes. The source is public on GitHub and includes a license file.
What are the best @chenfengyuan/vue-qrcode alternatives?
Popular alternatives to @chenfengyuan/vue-qrcode include qrcode.vue, vue-qrcode-reader and vue-qrcode-reader. See all @chenfengyuan/vue-qrcode alternatives


















