QR_CODE_DEFAULT_LOGO_SIZE
const
QR Code
Default logo overlay size as a ratio of the QR code width — 0.2 (20%) is the recommended ceiling before error correction starts failing.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Resolved value
Ecosystem
Used by
Composables and components that consume this constant.
useQrCode
OrigamQrCode
Usage
Examples
Ready-to-paste code snippets using this constant.
Sizing a logo overlay relative to the QR width