Product · coupon-scratch-reveal
Coupon scratch card reveal
A coupon ticket with a foil window: a coin scratches back and forth with flying flakes until the discount code is revealed with a pop and confetti, then a "Copy code" button is tapped and turns to "Copied".
A free, MIT-licensed product animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Coupon scratch card reveal is for
Promo codes, giveaways, loyalty rewards, black-friday teasers, app-store discount beats — set the headline, discount, code and colours.
Details
- Category
- Product & e-commerce animations
- Length
- 5.7 s (170 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
titlecaption- Colour props
backgroundcardinkaccentfoil- Mood
- playful
- Roles
- accent
Use Coupon scratch card reveal in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add coupon-scratch-reveal --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render coupon-scratch-reveal --props '{"title":"Your reward","caption":"On your next order","background":"#F1ECE3","card":"#FFFFFF","ink":"#1D1B24","accent":"#E8553A","foil":"#B8BCC8"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export coupon-scratch-reveal --as webm-alpha --props '{"title":"Your reward","caption":"On your next order","background":"#F1ECE3","card":"#FFFFFF","ink":"#1D1B24","accent":"#E8553A","foil":"#B8BCC8"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="coupon-scratch-reveal"
props={{
title: 'Your reward',
caption: 'On your next order',
background: '#F1ECE3',
card: '#FFFFFF',
ink: '#1D1B24',
accent: '#E8553A',
foil: '#B8BCC8',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="coupon-scratch-reveal"
props='{"title":"Your reward","caption":"On your next order","background":"#F1ECE3","card":"#FFFFFF","ink":"#1D1B24","accent":"#E8553A","foil":"#B8BCC8"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "coupon-scratch-reveal",
"props": {
"title": "Your reward",
"caption": "On your next order",
"background": "#F1ECE3",
"card": "#FFFFFF",
"ink": "#1D1B24",
"accent": "#E8553A",
"foil": "#B8BCC8"
}
}
]
}Coupon scratch card reveal props
16 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
title | "Your reward" | small caps line on the top band |
discountLabel | "20% OFF" | big offer text on the top band |
code | "SAVE20" | the hidden coupon code |
hint | "SCRATCH HERE" | text printed on the foil |
caption | "On your next order" | line under the window |
terms | "Minimum spend applies. One use per customer." | fine print under the caption |
copyLabel | "Copy code" | button text before the tap |
copiedLabel | "Copied" | button text after the tap |
rows | 5 | how many scratch sweeps (2-8) |
background | "#F1ECE3" | page colour or 'transparent' |
card | "#FFFFFF" | ticket body colour |
ink | "#1D1B24" | text colour |
accent | "#E8553A" | top band and confetti colour |
foil | "#B8BCC8" | scratch foil base colour |
startAt | 0 | frame the ticket starts entering |
speed | 1 | timing multiplier (1 = default) |
Related motions

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
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
Order confirmation receipt
Checkout success beats, "thanks for your order" emails turned into video, e-commerce app explainers, receipt / invoice reveals — set the…
order-confirmation
Product grid with filter chips (re-flow)
Catalogue / store / marketplace UI demos, "shop by category" beats, filter and search feature explainers — set the products, categories,…
product-grid-filter
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
Notes & credits
Technique sources:
- original (round 3)