Opus Motion ★ Star on GitHub

Data · budget-envelope-split

Budget envelope split

An income bar at the top splits into coins that travel down dashed lines to a grid of paper envelopes; each envelope pops in, opens its flap and lifts a slip showing the amount and share, while the "left to assign" counter on the bar runs down to zero.

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

Budget envelope split: three frames of the animated chart, start, middle and end
Budget envelope split — start, middle and end of the 7.0-second motion.

What Budget envelope split is for

Personal-finance and budgeting apps, envelope / zero-based budgeting explainers, salary or revenue allocation stories, "where does my money go" reels. Pass the income and a list of labelled envelopes with amounts and colours.

  • budget
  • envelope
  • finance
  • money
  • income
  • salary
  • allocation
  • split
  • savings
  • personal finance
  • zero-based
  • breakdown
  • fintech
  • overlay

Details

Category
Animated charts & data visualisation
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 subtitle prefix
Colour props
colors background panel ink accent
Mood
paper
Roles
accent, subject

Use Budget envelope split in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add budget-envelope-split --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render budget-envelope-split --props '{"title":"Every dollar gets a job","subtitle":"Monthly income split into envelopes","prefix":"$","colors":["#4C8DF6","#F2994A","#27AE8F","#EB5B8C","#8E6CF0","#F2C94C","#56CCF2","#9B9B9B","#7BC043"],"background":"#101826","panel":"#1B2638","ink":"#EEF3FA","accent":"#7BE0A8"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export budget-envelope-split --as webm-alpha --props '{"title":"Every dollar gets a job","subtitle":"Monthly income split into envelopes","prefix":"$","colors":["#4C8DF6","#F2994A","#27AE8F","#EB5B8C","#8E6CF0","#F2C94C","#56CCF2","#9B9B9B","#7BC043"],"background":"#101826","panel":"#1B2638","ink":"#EEF3FA","accent":"#7BE0A8"}'

React / Next.js

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

<MotionPlayer
  motion="budget-envelope-split"
  props={{
    title: 'Every dollar gets a job',
    subtitle: 'Monthly income split into envelopes',
    prefix: '$',
    colors: [
      '#4C8DF6',
      '#F2994A',
      '#27AE8F',
      '#EB5B8C',
      '#8E6CF0',
      '#F2C94C',
      '#56CCF2',
      '#9B9B9B',
      '#7BC043',
    ],
    background: '#101826',
    panel: '#1B2638',
    ink: '#EEF3FA',
    accent: '#7BE0A8',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="budget-envelope-split"
  props='{"title":"Every dollar gets a job","subtitle":"Monthly income split into envelopes","prefix":"$","colors":["#4C8DF6","#F2994A","#27AE8F","#EB5B8C","#8E6CF0","#F2C94C","#56CCF2","#9B9B9B","#7BC043"],"background":"#101826","panel":"#1B2638","ink":"#EEF3FA","accent":"#7BE0A8"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "budget-envelope-split",
      "props": {
        "title": "Every dollar gets a job",
        "subtitle": "Monthly income split into envelopes",
        "prefix": "$",
        "colors": [
          "#4C8DF6",
          "#F2994A",
          "#27AE8F",
          "#EB5B8C",
          "#8E6CF0",
          "#F2C94C",
          "#56CCF2",
          "#9B9B9B",
          "#7BC043"
        ],
        "background": "#101826",
        "panel": "#1B2638",
        "ink": "#EEF3FA",
        "accent": "#7BE0A8"
      }
    }
  ]
}

Budget envelope split props

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

PropDefaultWhat it does
title"Every dollar gets a job"headline (empty = none)
subtitle"Monthly income split into envelopes"line under the headline (empty = none)
income4200total income on the bar; envelopes are scaled to add up to it (0 = sum of the envelopes)
incomeLabel"Monthly income"caption over the income amount
leftLabel"Left to assign"caption over the running "left to assign" amount
envelopes[{"label":"Rent","amount":1500},{"label":"Bills","amount":600},{"label":"Groceries","am…envelopes [{label, amount, color?}] up to 9; amounts are shares of the income
prefix"$"text before amounts (currency symbol)
suffix""text after amounts
showPercenttrueshow each envelope's percentage share on its slip
colors["#4C8DF6","#F2994A","#27AE8F","#EB5B8C","#8E6CF0","#F2C94C","#56CCF2","#9B9B9B","#7BC0…palette for envelopes without their own colour
background"#101826"page colour, or "transparent"
panel"#1B2638"income bar colour
ink"#EEF3FA"text colour
accent"#7BE0A8""left to assign" amount colour
fontFamily""CSS font family (empty = Space Grotesk)
startAt6frame the income bar starts
speed1animation speed multiplier

Notes & credits

Technique sources:

  • original round-3 vertical motion