About this template
A sharp, industrial-design consumer electronics storefront showcasing brand-free invented devices photographed in one unified studio shoot. Navigate via an expandable category mega menu across Phones, Laptops, Audio, Cameras, and Smart Home; filter products by price, invented series names, screen size, battery endurance, and finish color; explore variant-driven product pages with specification tables and reviews; compare up to three gadgets side-by-side; add optional 2-Year Protection Plans inside the slide-over cart drawer; step through a multi-step mock checkout; look up order tracking codes; and browse limited-time deals.
The template prompt
The live demo was built from exactly this text — nothing added.
# Consumer Electronics Store
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
Build a multi-category consumer electronics store for [STORE_NAME] ([TAGLINE]; support: [SUPPORT_EMAIL]) in pure crisp white (#FFFFFF), graphite (#1C1F24), electric blue (#2D6BFF), and sale red (#FF3B30). All devices are invented, brand-free industrial hardware across five series (Core, Air, Studio, Optic, Echo-free Acoustic) photographed in one uniform light-grey studio shoot with zero logos or readable text. Sync seven hash routes bidirectionally with window.location.hash: (1) #/home — Editorial hardware showcase hero featuring flagship matte laptop & phone, quick category tiles, Deals spotlight, and top-rated picks; (2) #/category — Multi-category catalog with interactive Mega Menu dropdown plus spec filters (Category, Price Ceiling, Series Name, Screen/Driver Size, Minimum Battery Hours, Finish Color) and '+ Compare' pins; (3) #/product — Full Product Detail page with studio gallery, Finish Color swatches, Storage/Tier variants updating price live, Add to Cart + optional 2-Year Care+ Protection Plan checkbox, structured Spec Table, and customer reviews; (4) #/compare — Side-by-side comparison table supporting up to 3 selected products with highlighted best-in-class specs and quick Add to Cart buttons; (5) #/deals — Curated Deals page with red (#FF3B30) savings pills, stock meters, and instant bundle discounts; (6) #/checkout — Three-step Mock Checkout flow (Shipping → Delivery Speed → Review & Place Demo Order, clearly labelled no real payment) that automatically creates a real trackable order code; (7) #/track — Order Tracking lookup pre-seeded with two sample order IDs ('VG-84210' and 'VG-91045') plus any newly placed mock order showing a 4-stage fulfillment stepper. Include a persistent slide-over Cart Drawer accessible from every page with quantity steppers and per-item 2-Year Protection Plan add-on toggles. Zero calendar dates or 4-digit years anywhere.
- Audience: Everyday shoppers, creatives, hardware enthusiasts, and e-commerce teams.
- Goal: Make technical hardware comparison, variant selection, protection add-ons, and mock checkout effortless and trustworthy.
- Tone: Precision industrial design—uncluttered, technical specs presented cleanly with crisp visual restraint.
## Stack
- Framework: Vite 6 + React 18 + TypeScript
- Styling: Tailwind CSS 4
- Libraries: lucide-react (ISC), @fontsource/space-grotesk (OFL-1.1), @fontsource/inter (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 (600, 700), @fontsource/inter (400, 500, 600), and @fontsource/jetbrains-mono (500, 600) in src/main.tsx.
- Bundle all 5 generated brand-free studio product WebP photos locally under public/images/ and document them in ASSETS.md.
- Persist cart items, protection plan selections, compare IDs, and placed mock orders in localStorage; sync all routes bidirectionally with window.location.hash.
## Variables
- [STORE_NAME] — Storefront Name (default: "VoltGrid Hardware"). Fictional consumer electronics store name
- [TAGLINE] — Storefront Tagline (default: "Engineered Essentials. Zero Brand Markup."). Short industrial-design headline tagline
- [SUPPORT_EMAIL] — Support Email (default: "[email protected]"). Sample RFC-2606 .example support address
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/consumer-electronics-store 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 full prompt: design, sections, motion, assets
- Source code of every live demo
- Commercial license
The live demo and DESIGN.md stay free.
DESIGN.md
The design system on its own — colors, type, spacing and motion. Apply this look to a project you already have.
---
name: "Consumer Electronics Store"
colors:
studio_white: "#FFFFFF"
graphite_chassis: "#1C1F24"
electric_blue: "#2D6BFF"
sale_red: "#FF3B30"
cyclorama_grey: "#F3F5F8"
typography:
product_names_headlines: { family: "Space Grotesk", weights: [600, 700] }
body_reviews_filters: { family: "Inter", weights: [400, 500, 600] }
prices_skus_specs: { family: "JetBrains Mono", weights: [500, 600] }
spacing: "Crisp top utility strip + expandable Mega Menu header + 1280px structured product grids with generous studio breathing room."
radius: "16px clean hardware cards on #F3F5F8 studio plinths with sharp 1px borders."
---
# Consumer Electronics Store — 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
- **Studio White** `#FFFFFF` — Primary storefront background
- **Graphite Chassis** `#1C1F24` — Primary typography, dark spec headers, and structural contrast
- **Electric Blue** `#2D6BFF` — Primary Add-to-Cart, active filters, and compare highlights
- **Sale Red** `#FF3B30` — Deals savings badges and low-stock indicators
- **Cyclorama Grey** `#F3F5F8` — Product studio card staging backdrop
## Typography
- **Product Names & Headlines** — Space Grotesk (OFL), weights 600/700. Self-host the font files.
- **Body, Reviews & Filters** — Inter (OFL), weights 400/500/600. Self-host the font files.
- **Prices, SKUs & Specs** — JetBrains Mono (OFL), weights 500/600. Self-host the font files.
## Spacing & shape
- Spacing: Crisp top utility strip + expandable Mega Menu header + 1280px structured product grids with generous studio breathing room.
- Radius: 16px clean hardware cards on #F3F5F8 studio plinths with sharp 1px borders.
## Motion
- Smooth Mega Menu hover/click panel, slide-over Cart Drawer with instant subtotal + protection-plan math, and live spec filtering.
## Imagery
Five brand-free invented industrial hardware products (matte smartphone, ultra-slim aluminum laptop, over-ear studio headphones, compact rangefinder camera, cylindrical woven smart speaker) photographed in one clean neutral-grey studio shoot with zero logos or readable text.
## Tone
Precision industrial design—uncluttered, technical specs presented cleanly with crisp visual restraint.
---
— Prompt by VibeFather · https://vibefather.ai/t/consumer-electronics-store · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
Make it yours
- A camera and lens retailer: set STORE_NAME to your shop, keep the Optic series naming for your bodies, and use the screen and driver size filter for sensor and lens specs.
- An audio gear specialist: set TAGLINE to your sound-first promise, rename the series around headphones and speakers, and let the compare table highlight battery hours and driver size.
- A refurbished phone seller: use the finish color and storage variants for grade and capacity, and replace the protection plan toggle with your own warranty wording.
- A smart home installer: keep the Smart Home category, swap the studio photos for installed scenes, and link the support email to your booking inbox.
Consumer Electronics Store: questions and answers
How do the spec filters and three-device compare work in the Consumer Electronics Store template?
The Consumer Electronics Store template filters the catalog by category, price ceiling, series name, screen or driver size, minimum battery hours and finish color, and each product has a '+ Compare' pin. The compare page lines up to three pinned products side by side, highlights the best-in-class spec in each row, and keeps a quick Add to Cart button next to every device. Selections persist in localStorage, so a shopper can leave and come back to the same comparison.
Can the Consumer Electronics Store template take real payments or does checkout only simulate an order?
Checkout in the Consumer Electronics Store template is a three-step mock flow: shipping, delivery speed, then review and place a demo order, clearly labelled as no real payment. Placing it creates a real trackable order code that appears on the order tracking page alongside the two seeded sample orders. There is no backend and no payment provider, so you would connect your own checkout if you need to take money.
What do I need to change to make the Consumer Electronics Store template my own shop?
Set STORE_NAME, TAGLINE and SUPPORT_EMAIL in the content file, then rewrite the headlines, paragraphs and labels to match your store. The template ships with invented, brand-free devices across five series, so replace the product names, studio photos, spec tables and prices with your own catalog. The prompt keeps all copy and image paths in one content file so the swap does not touch components.
How do the 2-Year Protection Plans and the cart drawer work?
The Consumer Electronics Store template keeps a slide-over cart drawer reachable from every page, with quantity steppers and a per-item toggle for the optional 2-Year Care+ Protection Plan. The same plan can be added from the product page checkbox. Cart items, plan selections and placed mock orders are saved in localStorage, so the drawer keeps its state as the shopper moves between the home, category, product, compare, deals, checkout and track pages.
Can I use the Consumer Electronics Store template for a client store or a commercial shop?
The Consumer Electronics Store template is a Pro template, so commercial and client use needs Pro. Pro shows the brief, stack and variables publicly and gives members the full prompt plus the source code of the demos. Free templates' prompts and every DESIGN.md are free for personal, non-commercial use under CC BY-NC 4.0, but this electronics storefront is not one of the free ones.
How do I build a consumer electronics store with AI?
Copy the full prompt (Pro) from this page or run npx vibefather add consumer-electronics-store, replace [TAGLINE], [STORE_NAME] and [SUPPORT_EMAIL] 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.
Which AI model built the Consumer Electronics Store demo?
The Kinetik Goods case was built by GPT-6.2 Sol in Codex. Each build used the published prompt with nothing added.
What tech stack and pages does the Consumer Electronics Store template use?
Consumer Electronics Store is a 7-page site built with Tailwind CSS, React and Typescript, with 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.
Is the Consumer Electronics Store template free to use?
Consumer Electronics Store 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.
Does the Consumer Electronics Store template work on mobile?
Yes. Every Consumer Electronics Store 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.