Opus Motion ★ Star on GitHub

Data · savings-goal-jar

Savings goal jar

A glass savings jar fills with a wavy liquid as coins drop in, a big saved-amount counter runs up beside it, tick marks on the glass and a milestone checklist light up as each milestone is passed, and a "to go" line turns into a sparkle "goal reached" celebration when the target is hit.

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

Savings goal jar: three frames of the animated chart, start, middle and end
Savings goal jar — start, middle and end of the 7.0-second motion.

What Savings goal jar is for

Savings, fundraising and crowdfunding progress, goal-tracker and fintech app promos, "save for X" explainers. Set the goal, the amount saved, your own milestones, currency and colours.

  • savings
  • goal
  • jar
  • piggy bank
  • fundraising
  • crowdfunding
  • milestone
  • progress
  • money
  • finance
  • fintech
  • coins
  • target
  • 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
background liquid glass ink accent
Mood
playful
Roles
accent, subject

Use Savings goal jar in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add savings-goal-jar --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render savings-goal-jar --props '{"title":"Saving for the trip","subtitle":"Every deposit gets us closer","prefix":"$","background":"#101A24","liquid":"#34C3A0","glass":"#CFE6F2","ink":"#EDF4FA","accent":"#F5C451"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export savings-goal-jar --as webm-alpha --props '{"title":"Saving for the trip","subtitle":"Every deposit gets us closer","prefix":"$","background":"#101A24","liquid":"#34C3A0","glass":"#CFE6F2","ink":"#EDF4FA","accent":"#F5C451"}'

React / Next.js

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

<MotionPlayer
  motion="savings-goal-jar"
  props={{
    title: 'Saving for the trip',
    subtitle: 'Every deposit gets us closer',
    prefix: '$',
    background: '#101A24',
    liquid: '#34C3A0',
    glass: '#CFE6F2',
    ink: '#EDF4FA',
    accent: '#F5C451',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="savings-goal-jar"
  props='{"title":"Saving for the trip","subtitle":"Every deposit gets us closer","prefix":"$","background":"#101A24","liquid":"#34C3A0","glass":"#CFE6F2","ink":"#EDF4FA","accent":"#F5C451"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "savings-goal-jar",
      "props": {
        "title": "Saving for the trip",
        "subtitle": "Every deposit gets us closer",
        "prefix": "$",
        "background": "#101A24",
        "liquid": "#34C3A0",
        "glass": "#CFE6F2",
        "ink": "#EDF4FA",
        "accent": "#F5C451"
      }
    }
  ]
}

Savings goal jar props

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

PropDefaultWhat it does
title"Saving for the trip"headline (empty = none)
subtitle"Every deposit gets us closer"line under the headline (empty = none)
goal5000target amount (the jar is full at this value)
saved3200amount saved; if it reaches the goal the jar celebrates
goalLabel"of"word before the goal amount ("of $5,000")
savedLabel"Saved so far"caption over the big amount
reachedLabel"Goal reached!"message shown when saved >= goal
toGoLabel"to go"text after the remaining amount
milestones[{"label":"First step","value":1000},{"label":"Halfway there","value":2500},{"label":"A…milestones [{label, value}] up to 6; ticks on the jar and a checklist light up when passed
prefix"$"text before amounts (currency symbol)
suffix""text after amounts
coins8number of coins that drop into the jar (0 = none)
background"#101A24"page colour, or "transparent"
liquid"#34C3A0"colour of the liquid
glass"#CFE6F2"colour of the jar glass and rim
ink"#EDF4FA"text colour
accent"#F5C451"coins, ticks, checks and highlight colour
fontFamily""CSS font family (empty = Space Grotesk)
startAt6frame the jar fades in
speed1animation speed multiplier

Notes & credits

Technique sources:

  • original round-3 vertical motion