Recipe · landscape · 3 layers
Stats reveal
One big number with context — users, revenue, growth — for an "in numbers" website section or a data beat in a video.

Motions in this recipe

Number counter
Depth/altitude/speed meters, growing stats, countdowns, progress percentages and scoreboards.
number-counter
Flow lines (wind / heat / steam / waves)
Show air, heat, smell, sound or time: breeze over a landscape, a hot day, a hot meal, a ripple/time wipe.
flow-lines
Star glint flare
Specular highlight on a logo, product edge, blade, badge or coin; "shiny / new / premium" accents.
star-glint
Use it in Remotion, React or HTML
CLI
# render the recipe to out/stats-reveal.mp4 (run in the library folder)
node cli/mgl.mjs recipe stats-reveal --overrides '{"number-counter":{"label":"TEAMS SHIPPING WITH LUMEN"}}'
# copy just this recipe's source into a Remotion / React project
node cli/mgl.mjs add stats-reveal --to ../my-app/srcReact
import {MotionMix} from 'opus-motion-library/web';
<MotionMix recipe="stats-reveal"
overrides={{'number-counter': {label: 'TEAMS SHIPPING WITH LUMEN'}}}
playOnView
/>HTML
<script src="opus-motion.element.js" defer></script>
<opus-motion recipe="stats-reveal"
overrides='{"number-counter":{"label":"TEAMS SHIPPING WITH LUMEN"}}'>
</opus-motion>recipes/stats-reveal.json
{
"id": "stats-reveal",
"title": "Stats reveal",
"useFor": "One big number with context — users, revenue, growth — for an \"in numbers\" website section or a data beat in a video.",
"format": "landscape",
"duration": 210,
"background": "#07090f",
"tags": [
"stats",
"numbers",
"data",
"kpi",
"metric",
"counter",
"growth",
"section"
],
"web": {
"loop": "once"
},
"layers": [
{
"motion": "number-counter",
"role": "type",
"props": {
"keyframes": [
[
0,
0
],
[
10,
0
],
[
120,
48000
],
[
150,
48210
],
[
210,
48210
]
],
"mode": "roll",
"label": "TEAMS SHIPPING WITH LUMEN",
"unit": "",
"separator": ",",
"readouts": [],
"backdrop": "ink",
"numberColor": "#F2F4FA",
"labelColor": "#8FA6E8",
"size": 260,
"labelSize": 30
}
},
{
"motion": "flow-lines",
"role": "accent",
"props": {
"mode": "wind",
"background": "transparent",
"backdrop": false,
"color": "#3E5BA8",
"count": 5,
"speed": 0.5,
"weight": 0.8,
"curlProbability": 0.3
},
"opacity": 0.45,
"blend": "screen"
},
{
"motion": "star-glint",
"role": "accent",
"from": 120,
"props": {
"background": "transparent",
"showSubject": false,
"x": 0.69,
"y": 0.4,
"delay": 4,
"size": 0.9,
"hold": 30
},
"blend": "screen"
}
],
"notes": "Set number-counter.keyframes ([[frame, value], …]; two close keys = dwell), label, prefix (\"$\") and unit (\"%\"). Web: plays once on view and holds the final number."
}