Docs/QrCode
data@pdfcn-vue/qrcode

QrCode

QR code with optional caption.

Installation

Terminal

npx shadcn-vue@latest add @pdfcn-vue/qrcode

Usage

Example

<QrCode value="https://pdfcn-vue.example.com" :size="96" />

Props

PropTypeDefaultDescription
valuestring—Encoded payload.
sizenumber96QR box size in points.
captionstring—Optional caption under the code.

Live preview

The gallery uses a shared document. Change its theme in the theme builder to compare tokens.

QrCode in a document
Rendered with Forme in your browser.
Browser render

Rendering the PDF…

Vue SFC → Uint8Array

Source files

Registry paths
Files installed under components/pdf.
  • forme/components/QrCode.vue

Edit the theme tokens

Try the theme builder