Type · counting-objects
Counting objects
Kid-friendly counting: cute faced shapes (stars, hearts, apples, balloons, fish ...) pop into a ten-frame grid one by one while a big number and its word count up in step, then the set waves and the total is announced with confetti.
A free, MIT-licensed text animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Counting objects is for
Early-years maths and number-recognition videos, kids' app promos, preschool lessons and "how many?" social posts — pass the count, the shape, the unit word and your colours.
Details
- Category
- Text animations & kinetic typography
- Length
- 12.0 s (360 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
title- Colour props
colorsbackgroundinkaccentcard- Mood
- nature, playful, night
- Roles
- type, accent
Use Counting objects in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add counting-objects --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render counting-objects --props '{"title":"Let'\''s count!","colors":["#FF6B6B","#FFB020","#2EC4B6","#4D96FF","#9B5DE5"],"background":"#FFF6E5","ink":"#2B2A4C","accent":"#FF6B6B","card":"#FFFFFF"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export counting-objects --as webm-alpha --props '{"title":"Let'\''s count!","colors":["#FF6B6B","#FFB020","#2EC4B6","#4D96FF","#9B5DE5"],"background":"#FFF6E5","ink":"#2B2A4C","accent":"#FF6B6B","card":"#FFFFFF"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="counting-objects"
props={{
title: 'Let\'s count!',
colors: ['#FF6B6B', '#FFB020', '#2EC4B6', '#4D96FF', '#9B5DE5'],
background: '#FFF6E5',
ink: '#2B2A4C',
accent: '#FF6B6B',
card: '#FFFFFF',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="counting-objects"
props='{"title":"Let's count!","colors":["#FF6B6B","#FFB020","#2EC4B6","#4D96FF","#9B5DE5"],"background":"#FFF6E5","ink":"#2B2A4C","accent":"#FF6B6B","card":"#FFFFFF"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "counting-objects",
"props": {
"title": "Let's count!",
"colors": [
"#FF6B6B",
"#FFB020",
"#2EC4B6",
"#4D96FF",
"#9B5DE5"
],
"background": "#FFF6E5",
"ink": "#2B2A4C",
"accent": "#FF6B6B",
"card": "#FFFFFF"
}
}
]
}Counting objects props
18 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
count | 7 | how many objects to count (1-40) |
shape | "star" | star | circle | heart | apple | balloon | square | triangle | flower | fish |
colors | ["#FF6B6B","#FFB020","#2EC4B6","#4D96FF","#9B5DE5"] | colours cycled across the objects (also tints the number box) |
title | "Let's count!" | heading shown while counting |
unitLabel | "stars" | what is being counted, plural (used in doneText) |
doneText | "{n} {unit}!" | heading after the last object; {n} = the count, {unit} = unitLabel |
numberWords | ["one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve"… | number words for 1, 2, 3 ... (translate for other languages) |
showWords | true | show the number word under the number |
faces | true | give each object a smiling face |
perRow | 5 | objects per row in the grid (5 = ten-frame style) |
interval | 0 | frames between pops (0 = auto-fit to the clip) |
background | "#FFF6E5" | backdrop colour or 'transparent' |
ink | "#2B2A4C" | text, face and outline colour |
accent | "#FF6B6B" | completion heading colour |
card | "#FFFFFF" | number box colour before counting starts |
fontFamily | "" | optional CSS font-family for the number and headings (empty = display) |
startAt | 0 | frame the lesson starts |
speed | 1 | playback speed multiplier |
Related motions

Alphabet letter trace
Kids' phonics and handwriting videos, alphabet series, ESL letter lessons, number-writing practice and educational app promos. Works for…
alphabet-letter-trace
Fill in the blank
Grammar and vocabulary exercises, language-learning reels, classroom quiz clips, ESL practice posts and "can you spot the right word?"…
fill-in-the-blank
Clock time teach
Telling-the-time lessons, kids' routine and schedule videos, ESL time vocabulary, timetable explainers and clock-based…
clock-time-teach
Flashcard flip deck
Vocabulary, revision and quiz-prep videos, language-learning reels, course trailers and "test yourself" social posts — pass your own cards…
flashcard-flip-deck
Star chart reward
Kids' habit and chore trackers, classroom behaviour and reading charts, parenting and school app promos, gamified learning progress and…
star-chart-reward
Math equation solve
Maths tutorials, homework-help shorts, algebra explainers, STEM course trailers and "solve it with me" reels — pass any list of equation…
math-equation-solve
Notes & credits
Technique sources:
- original (round 3)