Web · motion

Product Swap Slider

Also called: flavour slider hero, product carousel with colour change, drink can slider, colour-swap product hero

What it is

One big product sits in the hero. On next, it spins out of frame, the next variant swings in, and the whole page background and headline change to that variant's colour.

What it says: Every variant gets the whole stage.

How it is usually built: GSAP timeline per slide, CSS custom properties for the page colour

With reduced motion: Change slides instantly with no spin; keep the colour change.

The live demo runs in the Lookbook: open Product Swap Slider there.

The prompt

Paste it into a coding AI building the page.

Prompt

product hero slider, one large product centred right, on next it spins out and the next flavour swings in, the full page background and the big headline colour change to match each variant, dot pager, snappy easing

Not this

What it gets confused with, or how it fails. Use it as a negative prompt where the tool takes one.

Not this

Not a fade carousel: the product moves, and the colour change takes the whole page, not just the card.

Feels like

Pairs with

Open in the LookbookBack to the gallery

More web techniques like this