Opus Motion ★ Star on GitHub

Type · sale-countdown-banner

Sale countdown banner

Promo banner: headline pill, a huge discount that slams in, a subtitle, a flip-style hours/min/sec countdown, a pulsing call-to-action pill and a scrolling ribbon.

A free, MIT-licensed text animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

Sale countdown banner: three frames of the text animation, start, middle and end
Sale countdown banner — start, middle and end of the 7.0-second motion.

What Sale countdown banner is for

Flash sales, launch / early-bird offers, Black-Friday style promos, "ends soon" ads, limited-time offers, social and e-commerce video ads.

  • marketing
  • sale
  • discount
  • countdown
  • timer
  • offer
  • cta
  • promo
  • ad
  • ecommerce
  • banner
  • flash-sale
  • black-friday

Details

Category
Text animations & kinetic typography
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
headline subtitle
Colour props
background ink accent accent2
Mood
—
Roles
type

Use Sale countdown banner in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add sale-countdown-banner --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render sale-countdown-banner --props '{"headline":"Flash sale","subtitle":"Everything in the store. Today only.","background":"#17132B","ink":"#FFFFFF","accent":"#FFC933","accent2":"#FF4D6D"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export sale-countdown-banner --as webm-alpha --props '{"headline":"Flash sale","subtitle":"Everything in the store. Today only.","background":"#17132B","ink":"#FFFFFF","accent":"#FFC933","accent2":"#FF4D6D"}'

React / Next.js

tsx
import {MotionPlayer} from 'opus-motion-library/web';

<MotionPlayer
  motion="sale-countdown-banner"
  props={{
    headline: 'Flash sale',
    subtitle: 'Everything in the store. Today only.',
    background: '#17132B',
    ink: '#FFFFFF',
    accent: '#FFC933',
    accent2: '#FF4D6D',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

html
<script src="opus-motion.element.js" defer></script>

<opus-motion motion="sale-countdown-banner"
  props='{"headline":"Flash sale","subtitle":"Everything in the store. Today only.","background":"#17132B","ink":"#FFFFFF","accent":"#FFC933","accent2":"#FF4D6D"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "sale-countdown-banner",
      "props": {
        "headline": "Flash sale",
        "subtitle": "Everything in the store. Today only.",
        "background": "#17132B",
        "ink": "#FFFFFF",
        "accent": "#FFC933",
        "accent2": "#FF4D6D"
      }
    }
  ]
}

Sale countdown banner props

15 parameters — change any of them to make the motion yours.

PropDefaultWhat it does
headline"Flash sale"small pill above the discount
discount"50%"the big number / text, e.g. "50%" or "$20"
discountLabel"OFF"word after the discount (OFF, SAVE, …)
subtitle"Everything in the store. Today only."one or two lines under the discount
timerLabel"Ends in"caption above the timer
unitLabels["Hours","Min","Sec"]three labels under the timer boxes (hours, minutes, seconds)
timerSeconds9254timer value at the start, in seconds
tickSpeed1timer seconds that pass per video second (1 = real time)
ctaLabel"Shop now"text in the call-to-action pill
ribbon"Limited time • Free shipping • While stock lasts •"text that scrolls along the bottom ribbon
background"#17132B"frame colour, or "transparent" to overlay content
ink"#FFFFFF"text colour
accent"#FFC933"discount number + ribbon colour
accent2"#FF4D6D"headline pill + call-to-action colour
startAt0frame the sequence begins

Notes & credits

Technique sources:

  • original (round 3, social & marketing)