StrataMetriq ID Card Designer Studio
Universal turnkey ID card designer, dashboard & A4 multi-page PDF cut-sheet rendering engine.
📦 @stratametriq/id-card-designer
A universal, dynamic, and highly customizable ID Card Designer & Batch Print Dashboard. Available as both a cloud-based SaaS platform and an embeddable open-source engine for React, Vue, Angular, and Vanilla JS.
Current release: 1.11.0
📑 Table of Contents
- Overview
- Live Demo & SaaS
- Core Features
- ID Card Verification & Card Lifecycle
- How It Works
- Importing Data
- Designing Cards
- Batch Printing & Export
- Cloud & Offline Modes
- Architecture & Security
- Developer Docs (NPM)
- Pricing / License
- FAQ
Overview
@stratametriq/id-card-designer is a developer-focused ID-card design and generation engine.
It is designed to solve the batch-generation problem for:
- Student Information Systems
- School and College ERP systems
- HR and Employee Management systems
- Event and Conference Badge systems
- Membership systems
- Internal identity-card workflows
The package combines visual card design with structured data, batch generation, card lifecycle management, and live digital verification so developers do not need to build an ID-card production workflow from scratch.
Live Demo & SaaS
You do not need to be a developer to use Stratametriq ID Card Studio! We host a fully managed, secure SaaS version for schools and businesses.
🌍 Launch Stratametriq Studio (Free SaaS)
Log in securely with your Google account or email to instantly start designing and saving your templates to the cloud.
🚀 Try the Developer Code Demo (StackBlitz)
If you are a developer looking to embed the engine, test it live in your browser with just two lines of code.
Core Features
- 🎨 Visual ID Card Designer: A complete workspace for designing ID cards with a visual canvas, configurable elements, templates, and preview capabilities.
- ➕ Live Roster CRUD & Management: Full inline editing ("Edit Record"), manual creation ("+ Add Record" with photo upload), individual deletion, and bulk selection deletion directly from the dashboard.
- 🔀 Multi-Column Sorting & Smart Pagination: 1-click column header sorting (Ascending / Descending) and customizable pagination (
10,25,50,100,All) for smooth performance on large datasets. - 📥 CSV & Excel Import: Import structured card data from
.csv,.xlsx, and.xls. Imported columns can be used as dynamic fields inside templates. - 🖼️ Bulk ZIP Photo Import: Upload a ZIP archive containing your spreadsheet/CSV and images. The importer can fuzzy-match image filenames with records, making it possible to prepare large batches of cards without manually attaching every photo.
- 🖨️ Professional Print Calibration: Define Bleed margins, X/Y hardware cutting offsets, and double-sided interleaved layouts.
- 🔳 QR Codes & Barcodes: Generate dynamic, scannable QR codes (
qrcode) and 1D Code 128 barcodes (jsbarcode) and bind them to record values such as admission numbers, employee IDs, URLs, or other unique identifiers. - 🏷️ Dynamic Field Placeholders: Bind template elements to imported data (e.g.,
ID: {{admissionNo}}). - 🧠 Conditional Rendering: Text elements can use JavaScript expressions for conditional output (e.g.,
{{ department === 'HR' ? 'Red' : 'Blue' }}). - 🛡️ Digital ID Card Verification: Built-in
<IdCardVerificationModal />with real-time status banners, anti-tampering photo match, HTML5 camera scanner, and public verification URLs. - 🔄 Full Card Lifecycle Management: Complete state machine tracking (
Active,Issued,Draft,Suspended,Revoked,Lost), interactive table status pills, batch status transitions, and automatic issuance logging on print. - 🛡️ Brand & Security Watermark Suite: Add customizable text watermarks (
STRATAMETRIQ,CONFIDENTIAL,SAMPLE), uploaded brand seal logos, and repeating security tile patterns with live opacity, rotation, and layer controls. - 🔲 Smart Alignment Guides: Snap elements to the center of the card or align them with other elements using visual color-coded guides (Purple for center, Red for edges).
- ⌨️ Keyboard Shortcuts: Navigate the editor faster using Undo/Redo (
Ctrl+Z,Ctrl+Y), Duplicate (Ctrl+C,Ctrl+V), Delete, and Arrow Key nudging.
ID Card Verification & Card Lifecycle
1. Card Lifecycle State Machine
Physical and digital ID credentials transition through an operational lifecycle:
[Import / Add] ──► DRAFT
│
▼
APPROVED
│
▼ (Batch Print / Export)
ISSUED ──► ACTIVE ◄──► SUSPENDED (Temporary Freeze)
│
┌──────────────────┼──────────────────┐
▼ ▼ ▼
EXPIRED REVOKED LOST / STOLEN
(Term Ended) (Resigned/Exit) (Blacklisted)
| Lifecycle State | Badge Indicator | Meaning & Access Rule |
| :--- | :--- | :--- |
| Draft | ⚪ Gray | Newly created record; pending administrative review before printing. |
| Approved | 🔵 Blue | Validated and approved for inclusion in batch print runs. |
| Issued | 🟣 Purple | High-DPI physical card printed; logs issuance timestamp (issuedAt). |
| Active | 🟢 Green | Currently valid credential; full campus / facility entry authorized. |
| Suspended | 🟠 Amber | Temporary administrative hold (fees, disciplinary, leave). Gate entry denied. |
| Revoked | 🔴 Red | Credential invalidated permanently (student graduated, employee resigned). |
| Lost / Stolen | 🚨 Rose | Badge blacklisted to prevent unauthorized impersonator entry. Confiscate on sight. |
| Expired | 🟡 Yellow | Credential validity date passed; renewal required. |
2. Live Anti-Counterfeiting Verification
Every badge template can include a Dynamic Verification QR Code that points to an authentic verification certificate:
https://verify.stratametriq.com/badge/{{id}}
When scanned by any smartphone camera or optical scanner:
- Live Credential Status: Instantly displays whether the badge is 🟢
ACTIVE, 🟠SUSPENDED, or 🔴REVOKED. - Official Database Photo Match: Displays the high-resolution photo stored in the database to immediately expose photo-swapping tampering on physical PVC cards.
- Audit Information: Card serial number, emergency phone numbers, admission/employee code, and tamper-proof verification checksum.
3. Verification Component Code Example
import React, { useState } from 'react';
import { IdCardVerificationModal } from '@stratametriq/id-card-designer';
function SecurityGateApp() {
const [isOpen, setIsOpen] = useState(false);
const [activeRecord, setActiveRecord] = useState(null);
const rosterRecords = [
{
id: 'ADM-2026-104',
studentName: 'Rahul Sharma',
classSec: 'Class X [A]',
status: 'active',
profilePhoto: 'https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=300'
}
];
return (
<div>
<button onClick={() => setIsOpen(true)}>
🛡️ Verify ID Badge
</button>
<IdCardVerificationModal
isOpen={isOpen}
onClose={() => setIsOpen(false)}
records={rosterRecords}
activeRecord={activeRecord}
onUpdateRecordStatus={(recordId, newStatus) => {
console.log(`Updated record ${recordId} to ${newStatus}`);
}}
theme="dark"
categoryLabel="Student Credential"
/>
</div>
);
}
How It Works
The entire architecture is designed around a lightning-fast, client-side generation workflow.
Excel / CSV / ZIP
↓
Import Records & Match Photos
↓
Design Template (Drag & Drop)
↓
Bind Dynamic Fields & QR Codes
↓
Live Live Preview
↓
Batch Generate
↓
Multi-page PDF / High-Res ZIP
Importing Data
CSV / Excel
Select Import Data and upload .csv, .xlsx, or .xls files. The importer automatically maps spreadsheet columns into dynamic fields.
ZIP + Bulk Photos
Prepare a ZIP containing the spreadsheet/CSV and image files.
id-cards.zip
├── students.xlsx
└── photos/
├── aarav_sharma.jpg
└── diya_patel.jpg
The intelligent importer automatically matches the photo filenames to the correct student/employee record.
Designing Cards
Click the vibrant Launch Studio Canvas button to open the editor.
Dynamic Text
Type a field placeholder wrapped in double braces:
{{studentName}}
Conditional Text
Use Javascript expressions to change output based on data:
{{ department === 'HR' ? 'Red' : 'Blue' }}
Backgrounds & Layout
Upload a high-resolution card background from your computer. Use the Smart Alignment Guides to perfectly center your text, barcodes, and profile pictures over your background.
Batch Printing & Export
Once your design is ready, select your export format:
- Batch A4/A3 PDF: The engine mathematically calculates the perfect grid spacing, applies hardware cutting marks, and generates a multi-page PDF ready for standard office printers.
- Thermal PVC Export: Generates a perfectly dimensioned CR80 layout (1 card per page) optimized for Zebra, Fargo, and Magicard thermal printers.
- High-Res ZIP Export: Batch export individual ID cards as high-resolution (300 DPI) PNG files neatly packaged in a single ZIP archive.
Cloud & Offline Modes
SaaS Cloud Sync (studio.stratametriq.com)
If you are logged into our SaaS platform, your custom ID card templates are automatically synced to our secure cloud. You can log in from any computer and your designs will be waiting for you.
Offline Workspace (.stmq)
If you are using the open-source engine in an air-gapped or highly secure offline environment, you can click Backup Project to download your entire workspace (data, photos, and templates) as a local .stmq JSON file. You can load this file later to resume work without ever touching the internet.
Architecture & Security
Is it safe to upload my Excel data?
YES. It is 100% secure. When you upload an Excel or CSV file containing sensitive student or employee data, none of that data is ever sent to a server.
The entire ID Card Designer is a purely client-side architecture. It runs natively in your local web browser using the HTML5 File API. Your sensitive spreadsheet data and employee photos remain strictly on your computer and are stored temporarily in your browser's local IndexedDB.
Our servers only store your blank template designs (so you don't lose your work), but we never touch, see, or process your actual spreadsheet data.
Developer Docs (NPM)
Building an ERP or HR system? Embed the designer directly into your application!
Installation
npm install @stratametriq/id-card-designer
Basic Usage
import { IdCardManager } from '@stratametriq/id-card-designer';
import '@stratametriq/id-card-designer/dist/index.css';
function App() {
return (
<div style={{ height: '100vh', backgroundColor: '#060913' }}>
<IdCardManager showFooter={false} />
</div>
);
}
Components
<IdCardManager />: Complete dashboard experience. Use this when you want the complete import → design → preview → batch-export workflow.<IdCardDesigner />: Standalone visual designer.<IdCardPreview />: Embed a live ID-card preview inside another application screen.
Pricing / License
@stratametriq/id-card-designer operates under a Dual Licensing Model to support both the open-source community and enterprise development.
1. Community Tier (Free)
Free for personal projects, students, open-source initiatives, and non-profit organizations. Under this tier, you may not use the software in any commercial product or revenue-generating service.
2. Commercial / Enterprise Tier (Paid)
Required for any commercial use, including:
- Commercial SaaS applications
- School & College ERP systems
- HR & Employee Management suites
- Internal corporate production deployments
- White-label applications
👉 Purchase a Commercial Enterprise License Here
FAQ
How is this different from Canva? Canva is designed primarily for single visual designs. Stratametriq focuses on an automated, data-driven workflow: One Template + Many Spreadsheet Records = Batch Printable ID Cards in seconds.
Do I need to install any software? Will it give me a virus?
No installation is required. ID Card Studio is a web-based application. You do not need to download or install any .exe or .dmg files, meaning there is zero risk of viruses or malware. Simply open your browser and start designing.
Does the core workflow require a StrataMetriq server? No. The core generation engine runs entirely in your browser using standard HTML5 Canvas technologies.
