Nfc Canvas
NFC Canvas is an ultra-modern, zero-backend web studio built to design and generate production-ready, ultra high-resolution contactless NFC "Tap to Review" business cards.
About the Project
Live Demo: https://nfc-canvas.onrender.com
Repository: https://github.com/RasikhAli/NFC-Canvas
Official Website: agnific.com
Type: High-Performance Static Web Application (React 19 + Vite + HTML5 Canvas)
ð Overview
NFC Canvas is an ultra-modern, zero-backend web studio built to design and generate production-ready, ultra high-resolution contactless NFC "Tap to Review" business cards.
Engineered specifically for AGNIFIC contactless hardware cards, every graphic, bevel shader, typography rasterization, and circular logo crop is rendered 100% client-side in the browser at 2Ã Ultra-HD resolution (1276 Ã 2022 px).
ð¸ Screenshots
1. Studio Dashboard Overview (Identity & Fonts)

2. Multi-Color Text Segmentation Engine
Split any text line into up to 5 customized color segments with live canvas rendering.

3. Realtime Colors Live Chooser
Full 2D HSV color plane with auto-flip boundary positioning and studio harmonized swatches.

4. Granular Typography & Sizing Controls
Independent font size controls for Business Name, Slogan, TAP TO REVIEW, and Agnific branding.

5. 1-Click Studio Theme Presets
Instantly apply curated palettes: Obsidian Gold, Cyberpunk Neon, Emerald Luxe, Midnight Sapphire, and Rose Gold.

â¡ Core Features
- ð Bento Grid Architecture: Dark-mode modular studio inspired by Linear, Raycast, and Vercel.
- ð´ Hero Live Canvas Viewport: Sticky 638 Ã 1011 px live card preview with glossy bevel shaders, dynamic background mesh, and 2Ã PNG export indicator.
- ð Multi-Color Text Segmentation: Break down Business Name and Slogan into up to 5 custom-colored segments with visual chip tags and individual hex pickers.
- ð¨ Realtime Live Color Choosers: Embedded 2D Saturation/Value plane and 360° Hue slider with smart auto-flipping positioning so pickers are never cut off.
- ð¤ Curated Typeface Engine: Audiowide, Space Grotesk, Rajdhani, Orbitron, Montserrat, Poppins, Oswald, Bebas Neue, Merriweather, and Playfair Display with live-rendered dropdown pickers.
- ð Granular Typography & Spacing Sliders: Fine-tune font sizes:
- Business Name: 40px â 130px (Default: 92px)
- Slogan: 16px â 60px (Default: 30px)
- TAP TO REVIEW: 20px â 60px (Default: 38px)
- Powered By: 12px â 36px (Default: 20px)
- AGNIFIC: 16px â 50px (Default: 30px)
- NFC Icon Spacing: Optimized gap between callout text and the contactless icon.
- ð¼ï¸ Circular Logo Processor: Drag-and-drop or file select with instant anti-aliased circular masking and 30%â100% scale adjustment.
- ðª 1-Click Studio Presets: 5 hand-crafted studio themes for instant styling.
- ð¡ï¸ 100% Client-Side Privacy: Zero server dependencies, zero telemetry, zero uploads.
- ð 2Ã UHD Production Export: 1-click PNG generation exporting pristine 1276 Ã 2022 px print-ready artwork.
ð Project Structure
nfc-canvas/
âââ public/ # Production static assets served by Vite
â âââ agnific-full-logo.png # Official Agnific Primary Logo
â âââ agnific-logo.png # Official Agnific Emblem
â âââ agnific-side-logo.png # Official Agnific Landscape Logo
â âââ favicon-32x32.png # Browser Favicon
â âââ favicon.png # High-res Favicon
â âââ fonts/ # Bundled TTF fonts
âââ screens/ # Showcase UI Screenshots for Documentation
â âââ screenshot-0.png # Dashboard Overview
â âââ screenshot-1.png # Multi-Color Segmentation
â âââ screenshot-2.png # Realtime Color Picker
â âââ screenshot-3.png # Typography Sizing
â âââ screenshot-4.png # Studio Presets
âââ design-assets/ # Raw source design files & branding
â âââ fonts/ # Original TrueType font files
â âââ photoshop/ # PSD and artwork project files
â âââ raw-branding/ # Original logo artwork and icons
âââ legacy/ # Archived vanilla JS/CSS prototype
â âââ script.js
â âââ style.css
âââ src/
â âââ components/
â â âââ AdvancedSettings.jsx # Background and rating star customizations
â â âââ BentoGrid.jsx # Modular Bento container components
â â âââ CardPreview.jsx # Hero sticky canvas preview & export button
â â âââ ColorPill.jsx # Color input trigger connected to LiveColorPicker
â â âââ FontDropdown.jsx # Custom animated dropdown with live font preview
â â âââ Footer.jsx # Agnific official footer with website links
â â âââ LiveColorPicker.jsx # 2D HSV real-time color chooser popover
â â âââ LogoUploader.jsx # Drag & drop circular logo uploader
â â âââ MultiColorTextEditor.jsx # Multi-segment color assignment engine
â â âââ Navbar.jsx # Studio header with NFC Canvas & Agnific branding
â â âââ PresetThemes.jsx # 1-click theme presets catalog
â â âââ SizeSlider.jsx # Premium range slider with numerical inputs
â âââ utils/
â â âââ cardRenderer.js # Core HTML5 Canvas rendering & 2x UHD engine
â âââ App.jsx # Master studio dashboard & state management
â âââ index.css # Design tokens, glassmorphic shaders, typography
â âââ main.jsx # React 19 entry point
âââ index.html # HTML5 shell with Google Font CDN & Meta tags
âââ package.json # Project metadata, scripts, and dependencies
âââ vite.config.js # Vite build and dev server configuration
âââ .gitignore # Git ignore rules
ð ï¸ Getting Started Locally
Prerequisites
- Node.js: v18.0.0 or higher
- npm: v9.0.0 or higher
Installation
# 1. Clone the repository git clone https://github.com/RasikhAli/NFC-Canvas.git # 2. Enter directory cd NFC-Canvas # 3. Install dependencies npm install # 4. Start local Vite development server npm run dev
The application will be live at http://localhost:3000.
ð¦ Production Build & Deployment
To compile the production static bundle:
npm run build
The compiled, minified static files will be placed in the dist/ directory.
Deploying to Static Hosting Platforms
Render (Static Site)
- Connect your GitHub repository to Render.
- Select Static Site.
- Set Build Command:
npm install && npm run build - Set Publish Directory:
dist - Click Create Static Site.
Vercel
npx vercel --prod
Netlify
npx netlify deploy --prod --dir=dist
âï¸ Brand & Attribution
- Product: NFC Canvas
- Developed & Engineered by: AGNIFIC
- Official Hardware Website: https://agnific.com
- Purpose: Official digital card creation studio companion for Agnific contactless NFC hardware products.
Project Gallery
Project Timeline
Technologies
External Links
Related Projects
Projects built with similar technologies.
Online Html Editor And Viewer
The Online HTML Editor and Viewer is a simple web application built with Flask that allows users to write and preview HTML code in real-time.
Qrgen
A premium, feature-rich QR Code Generator engineered with Python (Flask) and a pristine Glassmorphism frontend.
Examina Ai
Using AI, It transforms raw study materials into structured, verified examination sets with support for institutional export formats like Moodle XML.