Product · flash-deal-timer-card
Flash deal card (countdown + draining stock bar)
A product card with a FLASH DEAL ribbon, discount badge, struck-through old price, a ticking HH:MM:SS countdown and a stock bar that drains and turns red as units run out, with a pulsing call-to-action.
A free, MIT-licensed product animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Flash deal card (countdown + draining stock bar) is for
Flash sales, limited drops, black-friday countdowns, urgency / scarcity beats in store promos — set the product, prices, timer start, stock numbers and colours.
Details
- Category
- Product & e-commerce animations
- Length
- 6.0 s (180 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
badge- Colour props
productColorbackgroundcardinkaccentdanger- Image props
src- Mood
- nature
- Roles
- subject
Use Flash deal card (countdown + draining stock bar) in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add flash-deal-timer-card --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render flash-deal-timer-card --props '{"badge":"","productColor":"#E8553A","background":"#17141F","card":"#FFFFFF","ink":"#1D1B24","accent":"#E8553A","danger":"#D62839","src":""}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export flash-deal-timer-card --as webm-alpha --props '{"badge":"","productColor":"#E8553A","background":"#17141F","card":"#FFFFFF","ink":"#1D1B24","accent":"#E8553A","danger":"#D62839","src":""}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="flash-deal-timer-card"
props={{
badge: '',
productColor: '#E8553A',
background: '#17141F',
card: '#FFFFFF',
ink: '#1D1B24',
accent: '#E8553A',
danger: '#D62839',
src: '',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="flash-deal-timer-card"
props='{"badge":"","productColor":"#E8553A","background":"#17141F","card":"#FFFFFF","ink":"#1D1B24","accent":"#E8553A","danger":"#D62839","src":""}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "flash-deal-timer-card",
"props": {
"badge": "",
"productColor": "#E8553A",
"background": "#17141F",
"card": "#FFFFFF",
"ink": "#1D1B24",
"accent": "#E8553A",
"danger": "#D62839",
"src": ""
}
}
]
}Flash deal card (countdown + draining stock bar) props
24 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
ribbon | "Flash deal" | text in the ribbon chip |
productName | "Studio Headset" | product title |
oldPrice | 149 | original price number (struck through) |
newPrice | 89 | deal price number |
currency | "$" | currency prefix |
badge | "" | discount badge text; empty = automatic -NN% from the two prices |
timer | "02:14:37" | countdown start as HH:MM:SS |
timerLabel | "Ends in" | small caps line above the countdown |
timerSpeed | 6 | timer seconds that pass per real second (1 = real time; higher ticks faster) |
stockTotal | 60 | total stock (bar full = this many) |
stockStart | 44 | units left at the start |
stockEnd | 7 | units left at the end of the drain |
stockText | "Only {n} left" | stock sentence; {n} is replaced by the units left |
claimedText | "{p}% claimed" | right-hand note; {p} is replaced by the % claimed |
buttonLabel | "Grab the deal" | call-to-action text |
src | "" | product image (public/ path or https URL); empty = procedural drawing |
productKind | 2 | procedural drawing: 0 bag, 1 mug, 2 headphones, 3 box, 4 bottle, 5 watch, 6 lamp, 7 t-shirt |
productColor | "#E8553A" | procedural product colour |
background | "#17141F" | page colour or 'transparent' |
card | "#FFFFFF" | card colour |
ink | "#1D1B24" | text colour (card text, digit boxes) |
accent | "#E8553A" | price, badge, bar and button colour |
danger | "#D62839" | bar colour when stock is almost gone |
startAt | 0 | frame the card starts entering |
Related motions

Coupon scratch card reveal
Promo codes, giveaways, loyalty rewards, black-friday teasers, app-store discount beats — set the headline, discount, code and colours.
coupon-scratch-reveal
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
Sale countdown banner
Flash sales, launch / early-bird offers, Black-Friday style promos, "ends soon" ads, limited-time offers, social and e-commerce video ads.
sale-countdown-banner
Colourway swap
Colour options for any product — phones, shoes, bottles, cars, apparel; pass your product image and a `colorways` list.
colorway-swap
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
Notes & credits
Technique sources:
- original (round 3)