YOURS TO USEFREE RESOURCE

Build a clothing store website where you try clothes on a mannequin

One prompt for Claude Code that builds a modern clothing store with a virtual fitting room. Dress a mannequin with the products, layer jackets over tops, then add the whole outfit to a demo cart.

15 min to tryEveryday AIUpdated 14 Nov 2026
READY FOR YOUR AI CHAT
Build me a complete, modern online clothing store website with a virtual "Fitting room" where shoppers dress a mannequin with the products before they buy. Make it production-quality, responsive (desktop + mobile), and easy for any clothing shop to rebrand.

DESIGN
- Dark, premium look: near-black background, white text, one vivid purple accent for buttons, badges and active states. Rounded cards, soft shadows, smooth subtle animations.
- Top bar: brand logo in the center, navigation (Home, Shop, New Arrivals, Sale), a search field, a wishlist (heart) icon and a cart icon with a counter.
- Hero banner: a big headline (e.g. "Wear what you discover"), one line of subtext, a "Shop the merch" button, and product images on the right.

PRODUCTS (use these as sample data in a simple editable JSON file, with realistic AI-generated product photos on dark backgrounds)
- Logo Tee $35 · Graphic Tee $35 (on sale, was $42) · Hoodie $79 · Crewneck $69 · Varsity Jacket $189 · Joggers $69 · White Sneakers $109 · Dad Cap $29 · Beanie $25.
- Each product has a category (Tees, Hoodies & Sweats, Jackets, Trousers, Shoes, Hats), a rating, and a layer type (top, outer layer, bottom, shoes, hat).

SHOP PAGE
- "New arrivals" grid (4 per row on desktop) with a product count and a "Newest" sort dropdown.
- Each card: photo, star rating, name, price (with the old price struck through and a SALE badge when on sale), a heart (wishlist), a hanger "Try on" button, and an add-to-cart button.
- Left sidebar filters: categories with item counts, a max-price slider (20–200), and checkboxes for "On sale" and "Wishlist only". Filters update the grid instantly.

THE FITTING ROOM (the main feature)
- Clicking the hanger "Try on" button on any product opens a "Fitting room" panel that stays visible on the left while the shopper keeps browsing. Show a small hint under its title: "Add another piece and it goes on top."
- The panel shows a full-body mannequin on a light studio background. Every time a product is added, the mannequin is re-generated WEARING the full current outfit, with a short loading state (dim + spinner) while the new image is created.
- Layering rules: one item per slot (top, bottom, shoes, hat); an outer layer like the jacket goes OVER the top; swapping the top while the jacket is on changes what is under the jacket; removing the jacket shows the top again.
- Generate the outfit images with an AI image model (for example an image-editing model that takes the mannequin plus the product photos and returns the dressed mannequin). Cache every outfit combination so it never regenerates the same look twice. Include a fallback that layers transparent product cut-outs on the mannequin if no API key is set.
- Under the mannequin: "Your picks" thumbnails with an × to remove each piece, a "pieces" counter, a "Start over" button, and a zoom button to view the outfit large.
- When an item is added, animate a small copy of the product flying from its card into the mannequin, so the shopper sees where the clothes go.
- A floating "Try it on" button opens the panel on mobile.

CART & CHECKOUT
- Cart drawer with quantities, totals and an "Add the whole outfit to cart" button from the fitting room.
- A simple checkout page (contact details, shipping address, order summary). Payments can be a placeholder ready to connect to a real provider.

TECH
- Next.js + React + Tailwind CSS. Clean component structure, all product data in one file so a shop owner can replace products, prices, photos, logo, colors and brand name in minutes.
- Put the image-generation API key in an environment variable; never hard-code secrets.
- Give me step-by-step instructions to run it locally and to deploy it.

Start by showing me the plan and file structure, then build everything.
Learn with Amir