Prompts / Vibe-code

Shop a varsity jacket rack you can hover, flip and recolour

A dark, cinematic storefront where seven varsity jackets hang from a chrome rail. Hover one and it turns to face you under a spotlight. Click it and it comes forward, where you can swap colours on hanging tags, flip to the back, pick a size and add it to a bag.

Vibe-codeClaudeHiggsfield MCPGPT Image 2.6HTML/CSS/JS

Every jacket is a transparent photo that lines up on its hook, so the hover turns, the colour shove and the front and back flip all swap seamlessly. The colour change is a real shove: the jacket swings on its hanger and the new colour snaps over mid-swing.

You need the Higgsfield MCP. In Claude go to Customize, install the Higgsfield plugin and sign in (Claude Code with the Higgsfield MCP works too). The prompt has your AI generate all 52 images on Higgsfield, prepare them, then build the page. Higgsfield's Black Friday deal: 70% off Pro plans.

The prompt

Paste this into Claude with the Higgsfield MCP connected. It works through all four phases: generate, prepare, build and test.

Prompt — click to copy
Build me a single-page interactive storefront called "LTRMN Varsity Rack": a dark, cinematic showroom where seven varsity jackets hang side-on from a chrome clothing rail in front of a whitewashed brick wall. When you hover a jacket, it turns to face you and a spotlight moves onto it. When you click one, it comes forward to the centre of the screen. There you can:
- change its colour with hanging swatch tags (the jacket gets shoved, swings on its hanger, and the colour snaps over instantly)
- flip it to see the back
- pick a size and see the price
- add it to a bag
- step left or right through the rack

Deliver one index.html (all CSS and JS inline, no frameworks) plus an img/ folder. Work through the four phases in order. Don't round off the numbers; they are what make it feel right.

==================================================
PHASE 1: GENERATE THE ASSETS IN HIGGSFIELD
==================================================
If you have Higgsfield tools connected, run every generation yourself. If you don't, print Phase 1 as a numbered checklist for me to run on higgsfield.ai, with the exact filename for each result, and wait until I upload all 52 files. If you can't download Higgsfield's result files, ask me to download them and upload them to you.

Settings for every jacket image: model GPT Image 2.6, quality High, resolution 1K, aspect ratio 2:3, background Transparent. When a step says "reference", attach that earlier result as a reference image. Check every result before moving on. Regenerate any image that has a background, a mannequin, a cut-off hook or the wrong colours.

STEP 1: Seven base fronts (text to image). Fill in {DETAILS} in this template:
"E-commerce product photo of a varsity jacket hanging on a dark walnut wooden coat hanger with a thin chrome wire hook. Jacket: {DETAILS}. Shot perfectly straight-on from the front at eye level, centered and symmetrical, the jacket hangs naturally with sleeves down. The chrome hook is at the very top center of the frame, entire garment visible, fills the frame height with a small margin. Fully transparent background, no wall, no floor, no mannequin, no person, no cast shadow. Soft even studio lighting, realistic fabric texture, crisp detail."
1. classic_black_front: black boiled-wool body, cream leather sleeves, black-and-cream striped rib-knit collar, cuffs and waistband, cream snap buttons, a large cream chenille block letter 'L' patch with black felt border on the left chest, leather-trimmed welt pockets
2. script_forest_front: deep forest green wool body, cream leather sleeves, green-and-cream striped rib trim, cream snaps, a large cream chenille cursive script word 'Lettered' with green felt outline stitched diagonally across the chest
3. patch_cream_front: cream wool body, chocolate brown leather sleeves, brown-and-cream striped rib trim, brown snaps, chenille patches: a brown star on the right chest, a large number '26' on the left chest, a small round crest near the hem, a small lightning bolt on one sleeve
4. satin_cherry_front: glossy cherry red satin shell with quilted lining sheen, black-and-white striped rib trim, silver snaps, a small white chain-stitch wordmark 'LTRMN' on the left chest
5. cord_camel_front: camel tan wide-wale corduroy body, dark brown suede sleeves, brown-and-cream striped rib trim, brass snaps, a cream chenille number '07' patch with brown border on the left chest
6. leather_black_front: supple black lambskin leather body and sleeves, black-and-white striped rib trim, black snaps, a white chenille block letter 'L' on the left chest
7. crop_pink_front: cropped boxy fit ending at the waist, baby pink wool body, white leather sleeves, pink-and-white striped rib trim, white snaps, a small white chenille heart on the left chest (leave out "fills the frame height" for this one)

STEP 2: Side profiles (reference: that jacket's front), saved as {jacket}_{colour}_side:
"Show this exact same varsity jacket on the same wooden hanger, but turned 90 degrees so it is seen in strict side profile, as garments look when hanging side-by-side on a clothing rail: the hanger is seen edge-on as a thin vertical sliver with the chrome hook at the very top center, the jacket appears narrow and deep, its left {SLEEVE} sleeve hanging straight down along the side, the striped cuff and waistband visible from the side. Same colors, materials and lighting as the reference. Entire garment visible, fills the frame height. Fully transparent background, no shadow, no wall, no floor."
{SLEEVE} for each jacket:
- classic: cream leather
- script: cream leather
- patch: brown leather with the small lightning bolt patch
- satin: glossy red satin
- cord: brown suede
- leather: black leather
- crop: white leather

STEP 3: Backs (reference: that jacket's front), saved as {jacket}_{colour}_back:
"Show the BACK of this exact same jacket hanging on the same wooden hanger, viewed perfectly straight-on from behind: {BACK}. Same proportions, framing, colors and lighting as the reference; the chrome hook at the very top center, entire garment visible, fills the frame height. Fully transparent background, no shadow, no wall, no floor."
{BACK} for each jacket:
- classic: black wool back, cream leather sleeves, black-and-cream striped rib trim, large arched cream chenille block letters 'LTRMN' with black felt outline across the upper back
- script: forest green wool back, cream sleeves, a large cream chenille number '19' with green felt outline in the center
- patch: cream wool back, brown sleeves, one large brown chenille star with cream felt border, small arched brown letters 'ALL STAR' above it
- satin: glossy red satin back, a large white chain-stitch lightning bolt with 'LTRMN' arched above it in white script
- cord: camel corduroy back, brown suede sleeves, arched cream chenille letters 'VARSITY CLUB' with brown outline
- leather: black leather back, large arched white chenille letters 'LTRMN'
- crop: pink back, white sleeves, a white chenille cursive script word 'Sweetheart'

STEP 4: Ten extra colourway fronts (reference: that jacket's base front):
"Recolor this exact jacket, keeping the identical design, pose, hanger, framing, proportions and lighting: {CHANGE}. Change nothing else. Fully transparent background, no shadow."
- classic_navy_front: wool body deep navy, ribs navy and cream, 'L' stays cream with a navy border
- classic_burgundy_front: wool body burgundy wine, ribs burgundy and cream, 'L' cream with a burgundy border
- script_black_front: body black, sleeves bright white leather, ribs black and white, script white with a black outline
- script_royal_front: body vivid royal blue, sleeves white leather, ribs royal and white, script white with a royal outline
- patch_heather_front: body heather grey, sleeves black leather, ribs black and grey, all patches black with white borders
- satin_onyx_front: shell deep onyx black satin, chest embroidery white
- satin_gold_front: shell metallic gold-yellow satin, chest embroidery black
- cord_olive_front: corduroy deep olive green, sleeves black suede, ribs olive and cream, '07' cream with an olive border
- leather_cognac_front: leather warm cognac brown, ribs cognac and cream, 'L' cream
- crop_sky_front: body baby sky blue, ribs sky blue and white

STEP 5: Side and back for each of those ten colourways. Use two references: image 1 is the new colourway front, image 2 is that jacket's base side (or base back).
Side template:
"Image 1 is the colorway reference. Image 2 is the pose reference: the same jacket design seen in side profile on its hanger. Recreate image 2 exactly (same side-profile angle, hanger, hook, framing, proportions, sleeve position and lighting) but with the colors of image 1: {COLOURS}. Fully transparent background, no shadow."
Back template:
"Image 1 is the colorway reference (front of the jacket). Image 2 is the pose reference: the back of the same jacket design. Recreate image 2 exactly (same back view, lettering and graphics, hanger, framing, proportions and lighting) but recolored to match image 1: {COLOURS}. Fully transparent background, no shadow."
For {COLOURS}, describe body, sleeve and rib colours in a short phrase. For backs, also name the graphic's colours:
- classic navy: cream LTRMN with navy outline
- classic burgundy: cream LTRMN with burgundy outline
- script black: white '19' with black outline
- script royal: white '19' with royal outline
- patch heather: black star with white border, black ALL STAR
- satin onyx: white embroidery
- satin gold: black embroidery
- cord olive: cream VARSITY CLUB with olive outline
- leather cognac: cream LTRMN
- crop sky: white Sweetheart
Total so far: 17 colourways times front, back and side, which is 51 jacket images.

STEP 6: Showroom wall (text to image; GPT Image 2.6, High, 2K, 21:9, opaque background; make 2 and keep the better one) → wall:
"Straight-on, perfectly frontal photograph of a whitewashed, white-painted brick wall in an empty minimalist fashion showroom. The bottom 13% of the frame is a polished dark charcoal concrete floor meeting the wall in a clean horizontal line with a soft contact shadow. Bricks in running bond, slightly irregular, matte off-white paint with subtle texture, faint light-grey mortar lines, a few chipped edges and paint drips for character. Soft, even, low-key diffuse lighting with no spotlights and no hot spots, so the wall is evenly exposed edge to edge. No objects, no furniture, no clothing rack, no people, no text, no logos. Photographic, sharp detail, natural color."

==================================================
PHASE 2: PREPARE THE IMAGES (use a script such as Python + Pillow)
==================================================
For every jacket PNG:
a) Find the bounding box of pixels with alpha > 12.
b) Find the hook: the average x of pixels with alpha > 100 in the top 2.5% of that box.
c) Crop so the hook sits exactly at the horizontal centre (equal width either side, padded with transparency) and the hook tip touches the top edge.
d) Resize to 1000px tall (860px for both crop_ jackets, so they read as cropped).
e) Save as img/{jacket}_{colour}_{view}.webp (quality 86, alpha quality 90) and record its [width, height] in a manifest object that you embed in the page.
Save the wall as img/wall.webp (quality 80). Every view of a jacket now lines up on its hook, which is what makes the turns and colour swaps seamless.

==================================================
PHASE 3: BUILD THE PAGE
==================================================
FONTS: Google Fonts Archivo (variable: wdth 62-125, wght 100-900) for everything, and Graduate for the logo. Full-screen layout, body overflow hidden, body background #141312.

DATA, in rack order from left to right (tag colour / tag text colour):
1. All Star Patchwork Varsity, $349, id patch:
   - cream "Cream / Brown" #ece2cc/#4a2a1a
   - heather "Heather / Black" #9c9da0/#111
2. Classic Letterman, $289, id classic:
   - black "Black / Cream" #18181a/#f3e9d2
   - navy "Navy / Cream" #1b2a4c/#f3e9d2
   - burgundy "Burgundy / Cream" #611b2b/#f3e9d2
3. Satin Bolt Bomber, $229, id satin:
   - cherry "Cherry" #b3121f/#fff
   - onyx "Onyx" #141414/#fff
   - gold "Gold" #d9a414/#111
4. Corduroy Club Varsity, $259, id cord:
   - camel "Camel / Brown" #b37b45/#2b1a0e
   - olive "Olive / Black" #4f5a2a/#f3e9d2
5. Lettered Script Varsity, $319, id script:
   - forest "Forest / Cream" #1d4a33/#f3e9d2
   - black "Black / White" #141414/#fff
   - royal "Royal / White" #1e47b8/#fff
6. Leather Letterman, $499, id leather:
   - black "Black" #151515/#fff
   - cognac "Cognac" #8f4a1f/#f3e9d2
7. Cropped Sweetheart Varsity, $239, id crop:
   - pink "Pink / White" #f1b6c6/#5a2034
   - sky "Sky / White" #a8cbec/#15324f
Sizes: XS S M L XL XXL.
Sold out (disabled, dashed border, struck through):
- classic black: XXL
- patch heather: M
- satin gold: XL
- cord olive: XS, XXL
- script royal: XS
- leather cognac: XS
- crop sky: XXL

FURNITURE
- Header (64px, transparent):
  - Left: "Varsity '26 · 7 jackets" (13px, 700, uppercase).
  - Centre: logo "LTRMN" as a chenille patch: Graduate 22px, cream #f3e9d2 on varsity red #b3141f, 12px radius, 1.5px dashed cream outline inset 5px, a darker red bottom edge.
  - Right: a "Close ✕" pill (detail view only) and a "Bag" pill with a count bubble.
- Bottom ticker (40px, #b3141f): cream italic Archivo 850, uppercase, 15px, marquee loop over 40s. Text: "New season • Varsity club • Lettered for life • Hand-sewn chenille • Seven jackets, one rail •". Duplicate the run and give the items flex:none so they don't squash.
- Bottom-left, above the ticker: "Demo storefront · products, prices and stock are sample content."
- Text: all UI text is cream #f6f1e8 with soft dark text-shadows.
- Buttons: dark glass (rgba(10,10,12,.35) with backdrop blur) and cream borders; on hover they invert to a cream fill.

SHOWROOM LIGHTING (fixed full-screen layers behind the stage, pointer-events none)
1. wall.webp, background-size cover, anchored centre bottom.
2. A darkness layer rgba(9,8,8,.8). Mask it with two radial gradients combined using mask-composite: intersect (-webkit-mask-composite: source-in), so the room stays dark except where a light falls:
   - Spot: an ellipse with radii (--lw, --lh) at (--lx, --ly). Mask alpha stops: 0 at 0%, .05 at 28%, .28 at 52%, .66 at 76%, 1 at 100%.
   - Rack wash: an ellipse with radii (--ww, --wh) at (50%, --wy). Mask alpha: --wd at the centre, (--wd × .5 + .5) at 60%, 1 at 100%.
3. Warm key light: a radial gradient at the spot (radii × .9), rgba(255,206,140,.75) fading to transparent at 75%, with mix-blend-mode soft-light.
4. Beam: a trapezoid (clip-path polygon(43% 0,57% 0,100% 100%,0 100%)), width --lw, from 60px above the top of the screen down to --ly. Fill it with a gradient from rgba(255,236,200,.34) to transparent, inside a wrapper with blur(16px) and screen blend.
5. Dust: a canvas of min(120, width/11) motes, 0.5 to 2px, drifting slowly upward with a sine sway and a twinkle. They are only bright inside the beam's cone. Screen blend.
6. Above the jackets: a vignette (dark radial corners plus a dark top 16% and bottom 14%) and a film-grain overlay (inline SVG feTurbulence noise, opacity .075, overlay blend, jittering in 6 steps every 0.9s).
Register --lx, --ly, --lw, --lh (length) and --wd (number) with @property and transition them over .9s cubic-bezier(.65,0,.25,1), so the light glides between targets.

STAGE GEOMETRY (recompute on resize, with transitions briefly turned off)
- W and H are the viewport minus the ticker. "Narrow" means W < 720.
- top = 86 (70 when narrow). infoH = 224 (282 when narrow).
- HO (detail jacket height) = min(620, H - top - infoH - 12), and at most (W - 28 - 143 - (0 when narrow, otherwise 140)) / 0.7, and at least 190.
- HR (rack jacket height) = max(180, min(480, 0.47H, H - 250)).
- railY = max(92, min(0.24H, H - HR - 140)).
- Each jacket is one absolutely positioned box, 0.8·HO wide and HO tall, transform-origin top centre, placed with translate(cx - boxWidth/2, y) scale(s).
- Each image is HO × (its height / 1000) tall, so the cropped jacket stays shorter.
- Box transitions: transform .55s, filter .7s, opacity .7s, all cubic-bezier(.65,0,.25,1); 1s during open, close and next/previous.
- Inside each box are two faces in a perspective(1800px) container, both backface-hidden and centred on the hook:
  - a SIDE face
  - a FRONT face: a wrapper holding the base image plus a second "next" image stacked on top, used for colour swaps.
- Every jacket image gets drop-shadow(0 38px 26px rgba(0,0,0,.55)) drop-shadow(0 4px 4px rgba(0,0,0,.3)), the cast shadow on the wall.

RACK MODE
- Rail: a 10px chrome tube (gradient white → #c4c8cd → #8b9097 → #d8dbdf) with 12×22px end caps.
  - Top = railY - 5.
  - Width = min(W - 20, max(rack width + 220, 0.6W)).
  - Layered ABOVE the jackets, so the hooks look hooked over it.
- Jackets hang at y = railY - 3, at scale HR/HO, all showing their side face.
- Slots: each slot is the side width at HR + 12px. The hovered jacket's slot becomes its front width + 30px. If needed, the others compress to fit min(W - 28, 1200). The row stays centred, so the neighbours glide outward.
- Hover detection: use the pointer's x position within the slots and y between railY - 14 and railY + HR, not per-element hover.
- The flip on hover:
  - The side face rotates to rotateY(-90deg) in .22s, ease-in.
  - Then the front face comes in from rotateY(90deg) to 0 in .36s, ease-out, after a .2s delay.
  - Moving off reverses it.
- Lighting:
  - No hover: spot at (W/2, railY + .42HR) with radii (.56 × rack width + 90) and .95HR. Wash ellipse with radii (.62 × rack width + 90) and .95HR, centred at railY + .45HR. --wd = .3.
  - Hover: the spot slides to that jacket, radii 1.25 × its slot and .92HR. --wd = .55.
- Jacket brightness filter:
  - No hover: .96 × falloff.
  - Hovered: 1.08.
  - Others while hovering: .62 × falloff.
  - falloff = 1 - .24·d², where d = distance from centre ÷ half the rack width.
- Caption under the rack (at railY + HR + 22): "Hover a jacket to turn it · click to try it on" (on touch screens: "Tap a jacket to try it on"). While hovering it shows e.g. "Classic Letterman — Black / Cream  $289".
- Below the caption, a pill button "Browse the rack" opens the first jacket.
- Jackets are keyboard-focusable: focus acts like hover, Enter opens.
- On load, the jackets drop in with a staggered fade, 70ms apart.

DETAIL MODE (click a jacket)
- The rail fades and lifts 28px; the logo and the left label fade; Close appears.
- The chosen jacket moves to the centre x (shifted left if the tags would overflow), at y = top, scale 1, front face, brightness 1.04.
- The others form a circular row behind it at offsets -3 to +3 × spacing, where spacing = clamp(140, 0.2W, 330). They sit 3% lower, at scale .94, showing their side face, with blur(11px) (7px on phones), brightness .42 and opacity .75.
- When wrap-around makes a jacket jump more than one slot, move it with no transition.
- The spot moves to (cx, top + .46 × jacket height), radii 1.3 × jacket width and .95 × height. --wd = 1.
- Hang tags (one per colourway) sit to the right of the jacket, starting 3% below its top, 9px apart. Each tag has:
  - a 1.5px string, 30, 50 or 40px long
  - a 36px-wide body (min-height 96px) in the colour's hex, with clipped top corners (clip-path polygon(24% 0,76% 0,100% 12%,100% 100%,0 100%,0 12%)) and a punched hole
  - the colour's first word written vertically (13px, 800, uppercase)
  - a drop shadow
  - a short cream bar under the active tag
  The tags drop in after the jacket lands (delay 640ms + 90ms per tag) with a pendulum swing: start 26px higher, then 6°, -3.5°, 1.5° and 0 over .95s. Hovering a tag tilts it -6°.
- Below the jacket (top = jacket bottom + 14, centred), in order:
  - Name: clamp(22px, 2.6vw, 32px), Archivo 850, font-stretch 118%, uppercase.
  - Bold price + colour label.
  - A FRONT/BACK segmented pill, and size chips XS to XXL (46×42px).
  - A red "Add to bag — $289" pill (48px tall), then a hint line.
  This block fades up .45s after opening.
- Arrows: 48px round buttons. On desktop they sit left and right at the jacket's mid-height. On phones they sit side by side under the tags, near the hem. The ← and → keys and horizontal swipes also navigate; Esc closes.

THE COLOUR CHANGE (no wipe; a shove)
- On a tag click, load and decode the new image into the stacked "next" image.
- Then animate the front-face wrapper for 1050ms, with transform-origin at the hook (50% 0):
  - 0%: none
  - 9%: translateX(-20px) rotate(9.5deg) skewX(-4deg), filter blur(1.8px) brightness(1.2). Easing into this keyframe: cubic-bezier(.1,.9,.25,1).
  - 29%: translateX(7px) rotate(-5.5deg) skewX(1.5deg), filter cleared
  - 47%: translateX(-3px) rotate(3deg)
  - 65%: rotate(-1.4deg)
  - 83%: rotate(.55deg)
  - 100%: none
  Use ease-in-out between the later keyframes.
- At 40ms, show the "next" image and hide the base, so the colour snaps over instantly mid-shove.
- When the swing ends: copy the new src to the base, wait for it to decode, hide the "next" image, and switch the side image to the new colourway.
- The clicked tag flicks too: -14°, 8°, -3°, 0 over 800ms.
- Update the price/colour label, the sold-out sizes and the active-tag bar immediately. Ignore further clicks until the animation finishes.

FRONT/BACK
Animate the same wrapper with perspective(1600px) rotateY from 0 to 90deg (260ms, ease-in). Swap to the back (or front) image of the current colour once it has decoded, then rotate from -90deg to 0 (420ms, ease-out).

NEXT/PREVIOUS
- The tags retract and the info fades.
- The row shifts by one slot: the old jacket turns to its side and drifts into the blur while the next one turns to face you and sharpens.
- After 430ms, rebuild the info and tags for the new jacket. Reset to the front view and clear the size.

CLOSE
- Reverses the open. The rail reappears after a .35s delay.
- A jacket left on its back view resets to front after it has turned away.
- The rack remembers each jacket's chosen colour.

BAG
- Add to bag with no size: show "Pick a size first" in light red and shake the size row.
- Add to bag with a size: save {jacket, colour, size}, bump the bag count, and change the button to "Added — Navy, M" for 1.6s.
- The Bag pill opens a 400px drawer from the right: a light panel with a scrim behind it; Esc closes it. Keep the drawer visibility:hidden while closed, so its shadow doesn't leak onto the page.
- Drawer contents:
  - each item: front thumbnail, name, "Colour · Size", price, and a remove ×
  - a subtotal
  - a Checkout button that only says "Checkout isn't connected in this demo store."
- Save the bag in localStorage, inside try/catch.

ALSO
- Preload every image after the page loads.
- Under prefers-reduced-motion: near-instant transitions, no dust or grain animation, and an instant colour swap.
- touch-action: pan-y on the stage.

==================================================
PHASE 4: CHECK BEFORE HANDING OVER
==================================================
Open the page in a real browser at 1440×900, 1280×720 and 390×780 and check that:
- there are no console errors
- every jacket's hook tip sits on the rail
- hover flips cleanly, with no blank frame
- the colour shove, front/back, next/previous with wrap-around, close and the bag all work
- nothing overlaps the ticker
- all text stays readable against the darkness
Fix anything that fails, then give me the finished index.html and the img/ folder.

Make it yours

SwapHow
Your own brandChange the LTRMN name, the logo patch colours and the ticker text. The lighting and layout rules stay.
Your own productsSwap the jacket descriptions in Phase 1 for sneakers, bags or hats. Keep the transparent, hook-aligned framing so turns and colour swaps stay seamless.
Your own showroomChange the wall prompt in Step 6, for example raw concrete or dark wood, and keep the darkness layer and spotlight values.

Built something with this?

Tag @thinkingods — I genuinely want to see it. Need a site built properly? Start a conversation.

All prompts
PreviousBuild your pizza, bake it in a wood-fired oven←NextWalk into a perfume wall of five lit niches, then zoom into one→