Jar Fill: Progress. Native 1920×1080, 6s at 30fps.
A percentage as a filling jar. The jar outline draws and its lid drops on; candy pieces fall in row by row up to the level, while the percentage counts in step and lands with a squash; the label and caption sit beside it (16:9) or above it.
Motion. The outline draws; the lid settles; pieces fall (gravity) in order from the bottom row up; the number counts on the same progress and squashes at the end. Why it moves. change: the level rising piece by piece makes progress concrete, and the count keeps the number tied to it.
Mount
Copy every manifest file into your project (plus af-gumdrop-runtime). Mount with a unique host id, data-composition-id="af-gumdrop-jar-fill-16x9", data-composition-src="compositions/af-gumdrop-jar-fill-16x9.html", data-duration="6" and data-variable-values. Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): each is laid out natively, never scaled.
Content slots
Nested slots are JSON strings. Every slot is checked against constraints.json and measured against the layout before anything draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).
value (required): {"type":"integer","minimum":0,"maximum":100}label (required): {"type":"string","minLength":1,"maxLength":50}caption: {"type":"string","minLength":1,"maxLength":60}
value is a whole percentage. The jar fills to the nearest whole row of candy, so the level is approximate; the number is exact.
Style: colourway (night, cream, grape), accent (optional hex), footer, exit (pop or cut).
Timing
6s. Everything has landed by 3.6s (60%), then the scene holds for reading (the small candy shapes in the margins bob at a residual drift, text stays still) and every piece pops away over the last 0.5 s, leaving the empty ground.
Example
``json { "value": 65, "label": "of the course done in 3 weeks", "caption": "Ten minutes a day adds up." } ``