A powerful, professional-grade engine for designing, rendering, and printing QR code layouts.
Explore the capabilities of qrlayout-core & qrlayout-ui through our framework-specific implementations:
| Framework | Live Demo | Source Code |
|---|---|---|
| React | Live Demo | Source |
| Svelte 5 | Live Demo | Source |
| Vue 3 | Live Demo | Source |
QR Layout Tool is a comprehensive solution for developers building applications that require dynamic, printable labels, stickers, or badges. Unlike traditional QR generators that output single images, this tool provides a robust framework for composing complex layouts that integrate text, multiple QR codes, images, and dynamic data fields.
qrlayout-ui.{{handlebars}} syntax and batch-generate thousands of personalized labels.This project is managed as a high-performance monorepo using npm workspaces:
packages/core: The headless rendering engine. Handles Layout JSON parsing, data merging, and output generation (Canvas, ZPL, PDF).packages/ui: A framework-agnostic, embeddable Layout Designer. Provides the visual interface for layout creation.examples/: Reference implementations for React, Vue, and Svelte.| Package | Version | Description | Links |
|---|---|---|---|
qrlayout-core |
Headless rendering & logic engine | Docs | |
qrlayout-ui |
Interactive visual designer | Docs |
import { StickerPrinter } from "qrlayout-core";
const layout = { /* Layout JSON */ };
const data = { name: "Asset #421", sku: "QR-PRO-99" };
const printer = new StickerPrinter();
const zpl = printer.exportToZPL(layout, [data]);
import { QRLayoutDesigner } from "qrlayout-ui";
import "qrlayout-ui/style.css";
const designer = new QRLayoutDesigner({
element: document.getElementById("editor"),
onSave: (layout) => console.log("Layout Saved:", layout)
});
git clone https://github.com/shashi089/qr-code-layout-generate-tool.git
cd qr-code-layout-generate-tool
npm install
npm run dev:ui
npm run build:core
npm run build:ui
Contributions, issues and feature requests are welcome!
git checkout -b feature/my-feature)git commit -am 'Add my feature')git push origin feature/my-feature)Shashidhar Naik
MIT © Shashidhar Naik