Opus Motion ★ Star on GitHub

Type · birthday-cake-candles

Birthday cake, candles & blow-out

A tiered cake drops in, candles are lit one by one with a warm glow and a wish line, then a puff of breath blows them out (leaning flames, smoke wisps) and confetti bursts as the name is revealed.

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

Birthday cake, candles & blow-out: three frames of the text animation, start, middle and end
Birthday cake, candles & blow-out — start, middle and end of the 10.0-second motion.

What Birthday cake, candles & blow-out is for

Birthday greetings and reels, party invites, "happy birthday" posts, team-member birthdays, kids party intros, any "make a wish" reveal. Replace the name, title and colours; set the candle count to the age (up to 12).

  • birthday
  • cake
  • candles
  • celebration
  • party
  • greeting
  • wish
  • confetti
  • name
  • event
  • happy-birthday

Details

Category
Text animations & kinetic typography
Length
10.0 s (300 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
title
Colour props
background ink accent accent2 cake flame
Mood
playful
Roles
type, accent

Use Birthday cake, candles & blow-out in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add birthday-cake-candles --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render birthday-cake-candles --props '{"title":"Happy Birthday","background":"#2A1738","ink":"#FFF4E6","accent":"#FF7AA8","accent2":"#7A8BFF","cake":"#F2C48D","flame":"#FFB52E"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export birthday-cake-candles --as webm-alpha --props '{"title":"Happy Birthday","background":"#2A1738","ink":"#FFF4E6","accent":"#FF7AA8","accent2":"#7A8BFF","cake":"#F2C48D","flame":"#FFB52E"}'

React / Next.js

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

<MotionPlayer
  motion="birthday-cake-candles"
  props={{
    title: 'Happy Birthday',
    background: '#2A1738',
    ink: '#FFF4E6',
    accent: '#FF7AA8',
    accent2: '#7A8BFF',
    cake: '#F2C48D',
    flame: '#FFB52E',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="birthday-cake-candles"
  props='{"title":"Happy Birthday","background":"#2A1738","ink":"#FFF4E6","accent":"#FF7AA8","accent2":"#7A8BFF","cake":"#F2C48D","flame":"#FFB52E"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "birthday-cake-candles",
      "props": {
        "title": "Happy Birthday",
        "background": "#2A1738",
        "ink": "#FFF4E6",
        "accent": "#FF7AA8",
        "accent2": "#7A8BFF",
        "cake": "#F2C48D",
        "flame": "#FFB52E"
      }
    }
  ]
}

Birthday cake, candles & blow-out props

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

PropDefaultWhat it does
title"Happy Birthday"greeting line shown in script above the name
name"Alex"big name revealed after the candles go out
wish"Make a wish…"line shown while the candles burn
message"Wishing you a day full of joy"small line under the name
candles5number of candles (1-12)
hold42frames the lit candles glow before the blow-out
background"#2A1738"frame colour (hex), or "transparent" to overlay content
ink"#FFF4E6"text colour (hex)
accent"#FF7AA8"frosting and underline colour (hex)
accent2"#7A8BFF"candle and sprinkle colour (hex)
cake"#F2C48D"sponge colour (hex)
flame"#FFB52E"flame and glow colour (hex)
seed4seed for drips, sprinkles and confetti
startAt0frame the sequence begins

Notes & credits

Technique sources:

  • original (round 3, events & celebrations)