Documents · nutrition-facts-label
Nutrition facts label (count-up)
A printed-style nutrition label: heavy rules draw on, then calories, nutrient amounts and daily-value percentages count up from zero in sequence, one row highlighted; wide frames add a macro donut that sweeps in beside it.
A free, MIT-licensed document animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Nutrition facts label (count-up) is for
Food and drink product promos, packaged-goods ads, health / diet explainers, recipe cards, menu nutrition callouts — set the calories, nutrient rows, serving info and colours.
Details
- Category
- Document, form & report animations
- Length
- 8.0 s (240 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
titlefootnote- Colour props
backgroundpaperinkaccent- Mood
- —
- Roles
- subject
Use Nutrition facts label (count-up) in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add nutrition-facts-label --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render nutrition-facts-label --props '{"title":"Nutrition Facts","footnote":"* The % Daily Value tells you how much a nutrient in a serving contributes to a daily diet.","background":"#E9EFE4","paper":"#FFFFFF","ink":"#111111","accent":"#F2B134"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export nutrition-facts-label --as webm-alpha --props '{"title":"Nutrition Facts","footnote":"* The % Daily Value tells you how much a nutrient in a serving contributes to a daily diet.","background":"#E9EFE4","paper":"#FFFFFF","ink":"#111111","accent":"#F2B134"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="nutrition-facts-label"
props={{
title: 'Nutrition Facts',
footnote: '* The % Daily Value tells you how much a nutrient in a serving contributes to a daily diet.',
background: '#E9EFE4',
paper: '#FFFFFF',
ink: '#111111',
accent: '#F2B134',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="nutrition-facts-label"
props='{"title":"Nutrition Facts","footnote":"* The % Daily Value tells you how much a nutrient in a serving contributes to a daily diet.","background":"#E9EFE4","paper":"#FFFFFF","ink":"#111111","accent":"#F2B134"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "nutrition-facts-label",
"props": {
"title": "Nutrition Facts",
"footnote": "* The % Daily Value tells you how much a nutrient in a serving contributes to a daily diet.",
"background": "#E9EFE4",
"paper": "#FFFFFF",
"ink": "#111111",
"accent": "#F2B134"
}
}
]
}Nutrition facts label (count-up) props
19 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
title | "Nutrition Facts" | label heading |
servings | "8 servings per container" | servings-per-container line |
servingLabel | "Serving size" | left text of the serving-size line |
servingSize | "2/3 cup (55 g)" | right text of the serving-size line |
caloriesLabel | "Calories" | word next to the big calorie number |
calories | 230 | calories (counts up from 0) |
amountLabel | "Amount per serving" | small line above the calories |
dailyLabel | "% Daily Value*" | column header over the percentages |
nutrients | [{"label":"Total Fat","value":8,"unit":"g","daily":10},{"label":"Saturated Fat","value"… | rows, up to 14: {label, value, unit, daily? (%), indent?, bold?} — value and daily count up |
footnote | "* The % Daily Value tells you how much a nutrient in a serving contributes to a daily … | small print under the label |
highlight | "Total Sugars" | label of a row to highlight (case-insensitive; empty for none) |
macros | [{"label":"Carbs","value":37,"color":"#F2B134"},{"label":"Fat","value":8,"color":"#E457… | donut segments in wide frames: {label, value, color} — shares are value / sum |
panelTitle | "Where the energy comes from" | caption above the macro legend |
countFrames | 22 | frames each number takes to count up |
background | "#E9EFE4" | page colour or 'transparent' |
paper | "#FFFFFF" | label colour |
ink | "#111111" | text and rule colour |
accent | "#F2B134" | highlighted row colour |
startAt | 0 | frame the scene starts |
Related motions

Certificate with gold seal
Course / award / completion certificates, achievements, "officially certified" beats, diploma and credential reveals.
certificate-seal
Document highlight evidence
Evidence / receipt beats for explainers, investor updates, legal and policy videos — "the report says it".
doc-highlight-evidence
Document marker highlight
Evidence explainers, legal/finance/news videos, "the report says…" beats, investor updates. (A dark-desk yellow-highlighter take lives in…
document-marker-highlight
Document zoom + highlight
Quoting a report, contract, court filing, policy or press release on screen - "here is the line that matters" - with the source credited.
document-zoom-highlight
Evidence board
"N sources agree" moments: fact-checks, incident reports, product teardowns ("reviews, benchmarks and the spec sheet all point to the…
evidence-board
Line light-up (backlit document)
Quoting a source document on screen — contracts, receipts, patents, reports, clippings — for documentary, news and explainer videos.
line-light-up
Notes & credits
Technique sources:
- original (round 3)