A commercial-grade Scandinavian industrial-design 3D packaging modeling and print dieline studio built entirely with procedural Three.js geometry, real-time PBR canvas textures, and scaled SVG engineering blueprints. Designed for D2C brands, packaging agencies, print shops, and SaaS founders, the studio opens directly into an above-the-fold WebGL workstation offering four parametric articulated 3D packaging structures (Tuck-End Retail Carton with true 0%–100% flat-to-folded hinged kinematics, Rigid Magnetic Gift Box with opening flip lid, Corrugated E-Commerce Mailer, and Frosted Glass Dropper Bottle with companion carton), five procedural micro-fiber paperboard substrates, specular metallic foil stamping masks, live brand artwork and local logo painting onto 3D faces, four architectural lighting rigs, a synchronized 2D SVG cut-and-crease print dieline view, one-click high-resolution PNG mockup and scaled vector .svg dieline downloads, and a localStorage-persisted Production Spec & Tiered Unit Quote Sheet.
The live demo was built from exactly this text — nothing added.
# 3D Packaging Mockup Studio
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
Commercial-grade parametric 3D packaging modeling and technical print dieline studio for [BRAND], a fictional packaging design workstation for D2C brands and print studios. Opens immediately above the fold at 1440x900 into a refined Dieter Rams x Swiss CAD workstation: a crisp 56px top bar (geometric folded-box SVG mark + [BRAND] wordmark, 3D Studio / 2D Dieline / Split View mode switcher, instant Export Studio PNG & Export Print Dieline SVG buttons, and Production Spec Sheet Drawer button with saved SKU count), an expansive central WebGL Three.js 3D studio stage occupying 65%+ of the canvas with floating bottom control dock (smooth 0%-100% Hinged Fold/Open articulation scrubber, 4 camera preset pills Hero 3/4 / Front / Top Flat-Lay / Detail, 4 lighting rig switches Alabaster Softbox / Architectural Sun / Obsidian Rim / CAD Wireframe, Auto-Turntable toggle, and live mm dimensions badge), and a structured right-hand Parametric Inspector Rail (1. Structure selector: Tuck-End Retail Carton / Rigid Magnetic Gift Box / Corrugated E-Commerce Mailer / Frosted Dropper Bottle & Carton + live Width/Depth/Height mm sliders; 2. Procedural PBR Substrate & Foil selector: Soft-Touch Charcoal, Cotton Rag Ivory, Natural Kraft, Mineral Sage, Cobalt Board + Brushed Brass, Rose Copper, Silver Chrome, or Blind Deboss metallic foil masks; 3. Live Brand Artwork Painter: editable Brand Title [SAMPLE_BRAND], Product Subtitle [SAMPLE_PRODUCT], Net Volume, 4 Swiss/editorial label layouts, accent color, and local FileReader logo upload repainting 1024x1024 3D face textures live; 4. Live Tiered Print Run Quote estimator for 250 / 1,000 / 5,000 / 10,000 units with Save Spec to Production Sheet persisted in localStorage). Switching to 2D Dieline or Split View reveals a live mathematically synchronized parametric SVG blueprint with solid cyan cut lines, dashed vermilion crease lines, 3mm bleed frame, glue-flap hatching, mm dimension callouts, and flat blank cm2 area — matching the exact downloaded vector .svg file. Below the main workstation sits a tight, practical 3-column Print Engineering & Production Tolerance reference strip and clean minimalist footer (zero years/dates, zero filler marketing fluff).
- Audience: Packaging designers, D2C skincare/coffee/hardware founders, creative agencies, print shops, and SaaS makers building interactive 3D product tools.
- Goal: Deliver an immediately usable, client-side 3D packaging mockup and technical dieline studio whose procedural Three.js kinematics, PBR foil realism, and working PNG/SVG exports feel like a flagship paid design tool.
- Tone: Exact, tactile, architectural, utilitarian-luxury — Swiss industrial drafting meets high-craft packaging studio.
## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: three (MIT), @types/three (MIT), lucide-react (ISC), @fontsource/space-grotesk (OFL-1.1), @fontsource/dm-sans (OFL-1.1), @fontsource/jetbrains-mono (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
- Set base: './' and build: { sourcemap: false } in vite.config.ts.
- Import @fontsource/space-grotesk (500, 600, 700), @fontsource/dm-sans (400, 500, 600), and @fontsource/jetbrains-mono (400, 500) in src/main.tsx.
- Use Three.js OrbitControls and RoomEnvironment from three/examples/jsm/ (bundled cleanly, zero external HDRI or GLTF network fetches).
- Enable preserveDrawingBuffer: true on WebGLRenderer so Export Studio PNG reliably outputs high-res crisp renders (including optional transparent background export mode).
- Organize modularly: src/content.ts (brand defaults, presets, material definitions, pricing tiers), src/three/materials.ts (procedural CanvasTexture paperboard micro-grain bump/roughness + metallic foil stamping + live brand label painting), src/three/structures.ts (4 articulated parametric Three.js packaging structures with real hinged THREE.Group folding kinematics and LatheGeometry dropper bottle), src/dieline/generateDielineSvg.ts (parametric mm 2D SVG cut/crease/bleed blueprint generator shared by preview and .svg file export), and src/components/ (StudioViewport, DielinePreview, InspectorRail, SpecSheetDrawer).
## Variables
- [BRAND] — Studio application name (default: "Foldform"). Fictional 3D packaging modeling and dieline software name
- [SAMPLE_BRAND] — Default mockup package brand (default: "SOLSTICE LAB"). Fictional consumer brand printed live onto the 3D packaging box
- [SAMPLE_PRODUCT] — Default mockup product line (default: "Botanical Barrier Serum"). Fictional product subtitle painted live onto the 3D box and bottle label
- [SAMPLE_VOLUME] — Default net volume / spec line (default: "50 ML · 1.7 FL OZ"). Metric and imperial volume or edition line on the 3D package
- [STUDIO_EMAIL] — Production engineering desk email (default: "[email protected]"). Fictional packaging studio engineering contact email
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/3d-packaging-mockup-studio in the footer (default: yes; delete this line to remove it)
The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.Pro template
Unlock the full prompt and the source code
The live demo and DESIGN.md stay free.
The design system on its own — colors, type, spacing and motion. Apply this look to a project you already have.
---
name: "3D Packaging Mockup Studio"
colors:
architectural_alabaster_canvas: "#F4F2ED"
warm_technical_drafting_panel: "#FFFFFF"
deep_graphite_ink: "#15171A"
brushed_studio_brass: "#B48545"
technical_cut_line_cyan: "#1E6F8C"
crease_line_vermilion: "#C84B31"
drafting_hairline_stone: "#DDD8CE"
typography:
industrial_workstation_wordmark_section_headers_and_technical_titles: { family: "Space Grotesk", weights: [500, 600, 700] }
inspector_labels_tooltips_spec_sheet_drawer_and_capability_notes: { family: "DM Sans", weights: [400, 500, 600] }
millimeter_w_x_d_x_h_readouts_flat_blank_cm2_gsm_fold_and_unit_pricing: { family: "JetBrains Mono", weights: [400, 500] }
spacing: "Full-bleed 100% viewport-width precision CAD workstation above the fold (56px top bar + fluid 3D/2D canvas + 360px fixed right parametric inspector rail on desktop; cleanly stacked 3D viewport + tabbed inspector on mobile), followed by a 1280px max-width compact production specifications band below."
radius: "Precision 4px-6px industrial CAD corners with crisp 1px #DDD8CE hairlines — zero bubbly rounded pill bloat."
---
# 3D Packaging Mockup Studio — Design System
Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.
## Colors
- **Architectural Alabaster Canvas** `#F4F2ED` — Primary drafting studio stage and page ground
- **Warm Technical Drafting Panel** `#FFFFFF` — Inspector rail cards, toolbar surface, and 2D dieline artboard
- **Deep Graphite Ink** `#15171A` — Primary typography, active buttons, and Obsidian Rim studio backdrop
- **Brushed Studio Brass** `#B48545` — Primary foil accent, active parameter highlight, and primary export CTA
- **Technical Cut-Line Cyan** `#1E6F8C` — 2D SVG dieline solid cut lines and CAD measurement badges
- **Crease-Line Vermilion** `#C84B31` — 2D SVG dieline dashed fold/crease lines and 3mm bleed callouts
- **Drafting Hairline Stone** `#DDD8CE` — Crisp 1px workstation panel dividers and technical grid ticks
## Typography
- **Industrial workstation wordmark, section headers, and technical titles** — Space Grotesk (OFL), weights 500/600/700. Self-host the font files.
- **Inspector labels, tooltips, spec sheet drawer, and capability notes** — DM Sans (OFL), weights 400/500/600. Self-host the font files.
- **Millimeter W x D x H readouts, flat blank cm2, GSM, fold %, and unit pricing** — JetBrains Mono (OFL), weights 400/500. Self-host the font files.
## Spacing & shape
- Spacing: Full-bleed 100% viewport-width precision CAD workstation above the fold (56px top bar + fluid 3D/2D canvas + 360px fixed right parametric inspector rail on desktop; cleanly stacked 3D viewport + tabbed inspector on mobile), followed by a 1280px max-width compact production specifications band below.
- Radius: Precision 4px-6px industrial CAD corners with crisp 1px #DDD8CE hairlines — zero bubbly rounded pill bloat.
## Motion
- Smooth damped Three.js OrbitControls, continuous 0%-100% hinged panel folding kinematics on the Fold/Open slider, smooth interpolated camera preset transitions, and subtle slow studio turntable rotation automatically paused when prefers-reduced-motion is active or while dragging.
## Imagery
100% procedural WebGL Three.js 3D packaging modeling with dynamically generated HTML5 CanvasTexture PBR albedo, micro-fiber paperboard bump/roughness maps, specular metallic foil stamping masks, PMREM RoomEnvironment studio reflections, real-time soft ground contact shadow, and synchronized vector 2D SVG technical print dielines. Zero external stock images, zero external GLTFs, zero external HDRIs.
## Tone
Exact, tactile, architectural, utilitarian-luxury — Swiss industrial drafting meets high-craft packaging studio.
---
— Prompt by VibeFather · https://vibefather.ai/t/3d-packaging-mockup-studio · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
Yes. The 3D Packaging Mockup Studio template was built in Claude Code by Claude Fable 5.2, and its 2D Dieline view generates a parametric SVG blueprint with solid cyan cut lines, dashed vermilion crease lines, a 3mm bleed frame, glue-flap hatching and mm dimension callouts. The Export Print Dieline SVG button downloads the same scaled vector file you see in the preview.
Use the Live Brand Artwork Painter in the right-hand Parametric Inspector Rail. Set the Brand Title, Product Subtitle and Net Volume, pick one of the four Swiss/editorial label layouts and an accent color, then upload a logo file to repaint the 1024x1024 3D face textures live. The defaults are SOLSTICE LAB, Botanical Barrier Serum and 50 ML · 1.7 FL OZ, all editable.
The 3D Packaging Mockup Studio template includes four parametric structures: a Tuck-End Retail Carton with 0%–100% hinged folding, a Rigid Magnetic Gift Box with a flip lid, a Corrugated E-Commerce Mailer, and a Frosted Glass Dropper Bottle with a companion carton. Substrates are Soft-Touch Charcoal, Cotton Rag Ivory, Natural Kraft, Mineral Sage and Cobalt Board, with Brushed Brass, Rose Copper, Silver Chrome or Blind Deboss foil masks.
Commercial and client use of the 3D Packaging Mockup Studio template needs Pro, which also gives you the full prompt and the demo source code. Free templates' prompts and every DESIGN.md are free for personal, non-commercial use under CC BY-NC 4.0. Pro templates show the brief, stack and variables publicly and the prompt to Pro members.
The 3D Packaging Mockup Studio template already includes a Production Spec & Tiered Unit Quote Sheet with 250, 1,000, 5,000 and 10,000 unit tiers. Save Spec stores the current structure, dimensions, substrate and foil to a drawer kept in localStorage, so the saved SKU count survives a page reload. Change the tier numbers and currency in the content file to match your print shop.
Copy the full prompt (Pro) from this page or run npx vibefather add 3d-packaging-mockup-studio, replace the variables with your own content, and paste it into Claude Code, Codex, Cursor or another AI coding agent. The live demo was built from exactly that text.
The Foldform — Botanical Serum Packaging case was built by Claude Fable 5.2 in Claude Code. Each build used the published prompt with nothing added.
3D Packaging Mockup Studio is a single-page site built with React, Tailwind CSS and Three.js, with drag & physics, 3d / webgl and micro-interactions. The prompt fixes the stack so every AI tool builds the same kind of project, and the result runs as a static site you can host anywhere.
3D Packaging Mockup Studio is a Pro template: the brief, stack and variables are public, and the full prompt, the source code of the live demo and a commercial license come with VibeFather Pro. Its DESIGN.md is free for personal projects.
Yes. Every 3D Packaging Mockup Studio build was tested on a phone-sized screen as well as desktop before it went live, checking layout, text size and touch targets. Open the live demo on your phone, or switch the preview on this page to mobile view, to check it yourself.