E-commerce Web Design: Tech Stack & Best Practices
Analysis of modern e-commerce website design using Next.js, Three.js, and Shopify with insights on design-focused tech stacks.
When Design Meets Commerce: The Modern E-Commerce Tech Stack Powering Beautiful Brands
How forward-thinking brands like Becaneparis are redefining the intersection of web design and online retail.
The best e-commerce websites are no longer just storefronts — they are interactive experiences. Somewhere between a product page and a digital art installation, the most compelling online brands have figured out something that generic template-driven stores never will: design is a conversion mechanism, not a decoration.
Nowhere is this more apparent than in brands like Becaneparis, a standout example of what happens when a development team refuses to treat the frontend as an afterthought. The tech stack behind sites like this tells a story worth unpacking — especially if you are building AI-assisted automation workflows, headless commerce solutions, or simply trying to understand where modern web development is heading.
The Stack Behind the Best-Looking E-Commerce Sites
What powers a genuinely exceptional e-commerce experience in 2025? Based on real-world examples from design-focused brands, the answer increasingly looks like this:
| Layer | Technology | |---|---| | Framework | Next.js (React) | | 3D & WebGL | Three.js | | Animation | Motion (formerly Framer Motion) | | Deployment | Vercel | | CMS | Sanity | | Commerce | Shopify |
This is not a random combination. Each choice solves a specific problem, and together they form a composable, headless architecture that gives creative teams near-unlimited freedom while keeping the commerce layer stable and proven.
Next.js: The Structural Backbone
Next.js handles routing, server-side rendering, static generation, and API routes in one coherent framework. For e-commerce specifically, this matters because:
- SEO requires server-rendered content — product pages, category pages, and meta tags cannot rely on client-side rendering alone
- Performance budgets are tight — the Largest Contentful Paint (LCP) and Core Web Vitals directly influence both Google rankings and conversion rates
- API routes act as a secure middleware layer between your frontend and Shopify's Storefront API, keeping credentials server-side
A minimal Next.js + Shopify connection looks something like this:
// lib/shopify.js
const domain = process.env.SHOPIFY_STORE_DOMAIN;
const storefrontToken = process.env.SHOPIFY_STOREFRONT_ACCESS_TOKEN;
export async function getProducts() {
const response = await fetch(
`https://${domain}/api/2024-01/graphql.json`,
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-Shopify-Storefront-Access-Token': storefrontToken,
},
body: JSON.stringify({
query: `{
products(first: 10) {
edges {
node {
id
title
handle
priceRange {
minVariantPrice { amount currencyCode }
}
}
}
}
}`,
}),
}
);
const { data } = await response.json();
return data.products.edges.map(({ node }) => node);
}
This pattern decouples your storefront from Shopify's native theme system entirely, which is the key architectural decision that unlocks everything else.
Three.js and Motion: Where Design Becomes Competitive Advantage
Three.js brings WebGL 3D rendering into the browser. Motion (the library formerly known as Framer Motion in its standalone form) handles declarative, physics-aware animations. Used together, they enable:
- 3D product viewers that replace static photography with interactive models
- Scroll-driven animations that guide attention and create narrative flow
- Micro-interactions on hover, tap, and transition that communicate quality before a word is read
This is not visual noise for its own sake. Research consistently shows that interactive product visualization reduces return rates. When a customer can rotate a bag, examine a texture, or see how a product moves under simulated lighting, they buy with more confidence.
A basic Three.js scene setup within a React component:
import { useEffect, useRef } from 'react';
import * as THREE from 'three';
export default function ProductViewer() {
const mountRef = useRef(null);
useEffect(() => {
const scene = new THREE.Scene();
const camera = new THREE.PerspectiveCamera(75, 1, 0.1, 1000);
const renderer = new THREE.WebGLRenderer({ antialias: true, alpha: true });
renderer.setSize(500, 500);
mountRef.current.appendChild(renderer.domElement);
const geometry = new THREE.TorusKnotGeometry(1, 0.3, 128, 32);
const material = new THREE.MeshStandardMaterial({ color: 0xc0a080 });
const mesh = new THREE.Mesh(geometry, material);
scene.add(mesh);
const light = new THREE.DirectionalLight(0xffffff, 2);
light.position.set(5, 5, 5);
scene.add(light);
camera.position.z = 3;
const animate = () => {
requestAnimationFrame(animate);
mesh.rotation.y += 0.005;
renderer.render(scene, camera);
};
animate();
return () => mountRef.current?.removeChild(renderer.domElement);
}, []);
return <div ref={mountRef} />;
}
Sanity + Shopify: Separating Content from Commerce
The pairing of Sanity (as a headless CMS) with Shopify (as the commerce engine) reflects a mature architectural philosophy: content and commerce are different problems that should be solved by different systems.
Shopify is exceptionally good at what it does — inventory, checkout, payments, order management, fraud detection, and a global CDN for assets. Trying to bend its native templating system (Liquid) into a design-forward frontend is fighting the tool.
Sanity, by contrast, is purpose-built for structured content with a fully customizable studio, real-time collaborative editing, and a flexible schema. Editorial teams can manage landing pages, campaign content, and rich product descriptions without touching code, while developers retain full control over how that content renders.
This separation also has practical implications for AI automation workflows: both Sanity and Shopify expose well-documented APIs, making them excellent targets for LLM-driven content generation, product description automation, and inventory-triggered content updates.
Why Shopify Keeps Winning in Design-Forward E-Commerce
It is worth addressing a question developers often ask: if you are going headless anyway, why not use a more developer-native commerce backend?
The answer is simple and consistent across dozens of high-quality e-commerce sites: Shopify's operational reliability is not something you want to rebuild. Checkout conversion, payment processor relationships, tax calculation across jurisdictions, subscription management, and fraud detection represent years of iteration. Building equivalent infrastructure from scratch is a distraction from what actually differentiates a brand.
Shopify's headless offering (the Storefront API and, more recently, the Hydrogen framework) has matured significantly. You get:
- GraphQL Storefront API with granular access control
- Native cart and checkout that handles edge cases you have not thought of
- First-class support for internationalisation and multi-currency
- An ecosystem of apps that integrate without disrupting your custom frontend
The observation that most beautifully designed e-commerce sites use Shopify regardless of their frontend framework is not coincidental. It reflects a pragmatic division of labor that the best engineering teams have already internalized.
What This Means for Developers and AI Automation Engineers
If you are building e-commerce experiences — or building automation tools that serve e-commerce clients — several practical conclusions follow:
- Invest in the headless pattern. The combination of a modern JS framework, a headless CMS, and Shopify as the commerce layer is the current industry standard for ambitious brands. Understanding this stack is directly marketable.
- Three.js and WebGL are not niche skills anymore. As brands compete on experience rather than price, interactive 3D is moving from luxury to expectation in certain verticals (fashion, cosmetics, consumer electronics, furniture).
- Sanity's API-first architecture pairs naturally with LLM workflows. If you are building AI content pipelines, Sanity's GROQ query language and webhook system make it straightforward to trigger, write, and publish structured content programmatically.
- Vercel's edge network closes the performance gap that custom headless setups used to face. Edge functions, image optimization, and ISR (Incremental Static Regeneration) handle most of what used to require a dedicated DevOps investment.
Conclusion
The tech stack behind brands like Becaneparis is not exotic — every piece of it is well-documented, actively maintained, and increasingly accessible. What makes these sites exceptional is not the technology in isolation, but the deliberate choices about where to invest creative energy and where to rely on proven infrastructure.
Next.js handles the structure. Three.js and Motion deliver the experience. Sanity manages the content. Vercel handles the delivery. Shopify runs the commerce. Each tool does one job well, and the seams between them are clean enough for both developers and content teams to operate without stepping on each other.
For developers building in this space — or exploring how AI automation can extend these workflows — this composable architecture is worth studying closely. The brands winning online in 2025 are not doing it with better products alone. They are doing it with better experiences, built on stacks exactly like this one.
Originally inspired by a post from @ricouii on X. Published on ClawList.io — your resource hub for AI automation and OpenClaw skills.
Tags
Related Articles
Building Commercial Apps with Claude Opus
Experience sharing on rapid app development using Claude Opus as a CTO, product manager, and designer combined.
AI-Powered Product Marketing with Video and Social Media
Guide on using AI to create product advertisement videos, user testimonials, and product images for social media marketing campaigns.
Engineering Better AI Agent Prompts with Software Design Principles
Author shares approach to writing clean, modular AI agent code by incorporating software engineering principles from classic literature into prompt engineering.