Product · colorway-swap
Colourway swap
A product cycles through a list of colourways: the image is recoloured (luminance tint, or the procedural speaker repaints), the backdrop disc and name follow, and a row of swatch chips highlights the active one.
A free, MIT-licensed product animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Colourway swap is for
Colour options for any product — phones, shoes, bottles, cars, apparel; pass your product image and a `colorways` list.
Details
- Category
- Product & e-commerce animations
- Length
- 7.0 s (210 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
title- Colour props
backgroundinkaccent- Image props
src- Mood
- photo
- Roles
- subject
Use Colourway swap in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add colorway-swap --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render colorway-swap --props '{"title":"Pick your colour","background":"#F3EFE7","ink":"#1B1B22","accent":"#1B1B22","src":""}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export colorway-swap --as webm-alpha --props '{"title":"Pick your colour","background":"#F3EFE7","ink":"#1B1B22","accent":"#1B1B22","src":""}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="colorway-swap"
props={{
title: 'Pick your colour',
background: '#F3EFE7',
ink: '#1B1B22',
accent: '#1B1B22',
src: '',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="colorway-swap"
props='{"title":"Pick your colour","background":"#F3EFE7","ink":"#1B1B22","accent":"#1B1B22","src":""}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "colorway-swap",
"props": {
"title": "Pick your colour",
"background": "#F3EFE7",
"ink": "#1B1B22",
"accent": "#1B1B22",
"src": ""
}
}
]
}Colourway swap props
9 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
title | "Pick your colour" | heading at the top (empty hides it) |
colorways | [{"name":"Midnight","color":"#2B2E3B"},{"name":"Coral","color":"#FF6A55"},{"name":"Lago… | array of {name, color} (up to 8) |
src | "" | product image (public/ path or URL), tinted per colourway; empty draws a neutral speaker |
background | "#F3EFE7" | backdrop colour or 'transparent' |
ink | "#1B1B22" | text colour |
accent | "#1B1B22" | active-swatch ring colour |
hold | 34 | frames each colourway is held |
swap | 14 | frames the colour blend takes |
startAt | 16 | frame the cycle starts |
Related motions

Size & colour variant picker
Product-page UI demos, variant selection explainers, fashion / merch store promos — set the swatches, sizes, surcharges, price and…
size-color-picker
Add to cart (thumbnail flies into cart)
E-commerce explainers, store promos, app-store videos, "add to cart" UX demos — set the product picture, name, price, currency and labels.
add-to-cart-fly
Flash deal card (countdown + draining stock bar)
Flash sales, limited drops, black-friday countdowns, urgency / scarcity beats in store promos — set the product, prices, timer start,…
flash-deal-timer-card
Price tag drop
Sales, launch pricing, "now only" beats, subscription price reveals — set currency, old and new price.
price-tag-drop
Feature callouts around a product
Product launches, app feature tours, spec call-outs, "what is inside" reveals — pass your product image and your feature list.
feature-callout-orbit
Unbox lid lift
Unboxing reveals, "what is in the box", product drop / launch teasers, gift and surprise reveals — pass your product image.
unbox-lid-lift
Notes & credits
Technique sources:
- original (round 3)