data
@pdfcn-vue/qrcodeQrCode
QR code with optional caption.
Installation
Terminal
npx shadcn-vue@latest add @pdfcn-vue/qrcodeUsage
Example
<QrCode value="https://pdfcn-vue.example.com" :size="96" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| value | string | — | Encoded payload. |
| size | number | 96 | QR box size in points. |
| caption | string | — | Optional caption under the code. |
Live preview
The gallery uses a shared document. Change its theme in the theme builder to compare tokens.
Source files
Need the full template?
See blocks for invoices and reports composed from these primitives.