Ecommerce · React · Featured
Ecommerce storefront

What you get
Catalog, product detail and cart screens driven by a typed in-memory product list. The cart is persisted to localStorage through a small hook, quantities can be adjusted inline, and the checkout form is explicitly a placeholder: it records the order locally and tells you where to plug in Stripe or Razorpay on the server.
Files, exactly as copied.
Exactly what is copied into a new project: 14 files, nothing generated.
Explorer 14
import type { ReactNode } from "react"; /** Simple SVG product illustrations, so the catalog looks finished before you have photos. */const art: Record<string, { bg: string; draw: ReactNode }> = { p1: { bg: "from-amber-100 to-amber-200", draw: ( <g> <path d="M58 92 C58 40 142 40 142 92" fill="none" stroke="#312e81" strokeWidth="9" strokeLinecap="round" /> <rect x="44" y="82" width="28" height="44" rx="12" fill="#4338ca" /> <rect x="128" y="82" width="28" height="44" rx="12" fill="#4338ca" /> <rect x="50" y="90" width="10" height="28" rx="5" fill="#a5b4fc" /> <rect x="140" y="90" width="10" height="28" rx="5" fill="#a5b4fc" /> </g> ), }, p2: { bg: "from-amber-100 to-orange-200", draw: ( <g> <rect x="68" y="30" width="64" height="100" rx="14" fill="#292524" /> <circle cx="100" cy="98" r="20" fill="#44403c" /> <circle cx="100" cy="98" r="9" fill="#f59e0b" /> <circle cx="100" cy="56" r="9" fill="#44403c" /> <circle cx="100" cy="56" r="4" fill="#fbbf24" /> </g> ), }, p3: { bg: "from-rose-100 to-rose-200", draw: ( <g> <path d="M88 34 q6 -10 0 -20 M104 34 q6 -10 0 -20" fill="none" stroke="#fda4af" strokeWidth="4" strokeLinecap="round" /> <path d="M128 70 h10 a16 16 0 0 1 0 32 h-10" fill="none" stroke="#be123c" strokeWidth="8" /> <path d="M66 46 h66 v62 a20 20 0 0 1 -20 20 h-26 a20 20 0 0 1 -20 -20 z" fill="#e11d48" /> <path d="M66 46 h66 v10 h-66 z" fill="#fb7185" /> </g> ), }, p4: { bg: "from-emerald-100 to-lime-100", draw: ( <g> <rect x="44" y="96" width="112" height="26" rx="8" fill="#15803d" /> <rect x="52" y="72" width="96" height="26" rx="8" fill="#22c55e" /> <rect x="60" y="48" width="80" height="26" rx="8" fill="#86efac" /> <path d="M70 48 v26 M86 48 v26 M114 72 v26 M130 72 v26 M60 96 v26 M80 96 v26" stroke="#ffffff" strokeOpacity="0.5" strokeWidth="3" /> </g> ), }, p5: { bg: "from-cyan-100 to-sky-200", draw: ( <g> <rect x="88" y="18" width="24" height="16" rx="5" fill="#0f172a" /> <path d="M80 44 q0 -10 10 -10 h20 q10 0 10 10 v78 q0 10 -10 10 h-20 q-10 0 -10 -10 z" fill="#0284c7" /> <rect x="80" y="70" width="40" height="22" fill="#7dd3fc" /> </g> ), }, p6: { bg: "from-amber-100 to-amber-100", draw: ( <g> <path d="M76 34 l24 12 l24 -12 l30 18 l-10 30 l-12 -6 v58 h-64 v-58 l-12 6 l-10 -30 z" fill="#1e40af" /> <path d="M100 46 v88" stroke="#93c5fd" strokeWidth="3" /> <path d="M88 34 q12 14 24 0" fill="none" stroke="#1e3a8a" strokeWidth="5" strokeLinecap="round" /> </g> ), },}; export function ProductArt({ id, className }: { id: string; className?: string }) { const a = art[id]; return ( <div aria-hidden="true" className={"relative overflow-hidden bg-gradient-to-br " + (a ? a.bg : "from-slate-100 to-slate-200") + " " + (className ?? "")}> <svg viewBox="0 0 200 150" className="absolute inset-0 h-full w-full"> <ellipse cx="100" cy="134" rx="54" ry="7" fill="#0f172a" opacity="0.08" /> {a ? a.draw : null} </svg> </div> );}Remix
Remix this template.
Describe what to change and the agent starts from Ecommerce storefront's files. The box is already started for you: finish “Start from Ecommerce storefront and …”
Dependencies
Documented from the template's package.json. The runtime has a prebuilt dependency set for Vite + React + TypeScript, so installs are fast.
- react^19.1.0
- react-dom^19.1.0
- vite^6.3.0
- @vitejs/plugin-react^4.4.0
- tailwindcss^4.1.0
- @tailwindcss/vite^4.1.0
- typescript^5.8.0
How it runs
- Framework
- Vite + React + TypeScript
- Dev command
- npm run dev
- Build command
- npm run build
- Output directory
- dist
- Port
- 5173
- Entry route
- /
Projects run in an isolated sandbox with a live preview. Read the projects documentation for settings, snapshots and deployment.
Keep browsing.
All templates
Coffee roaster shop
Dark storefront for a specialty roaster with single origins, a subscription, brew gear and shipping info.

Sneaker store
Dark sneaker storefront with a filterable catalog, a resole service, drop sign-ups and a working cart.

Bicycle shop
Bike shop storefront with gravel and city bikes, parts, service plans, workshop hours and group rides.
Build on Ecommerce storefront
Create a free account, start from this template, and ask the AI agent to turn it into your app.