Ranking: Podium Pal. Native 1920×1080, 6.5s at 30fps.
A top three to five. Rows build from last place up: each rank badge pops, its label slides in and its bar grows with the value counting along it; the winner's badge is a sunburst pal that arrives last and hops with a burst.
Motion. Rows arrive bottom to top (stagger); bars grow from the left (ease-out, never past the value) while the number rides their end; the winner pal hops and squashes, looks at the viewer. Why it moves. change: building up to number one gives the list a reveal, and the bars make the gaps between ranks visible.
Mount
Copy every manifest file into your project (plus af-gumdrop-runtime). Mount with a unique host id, data-composition-id="af-gumdrop-ranking-16x9", data-composition-src="compositions/af-gumdrop-ranking-16x9.html", data-duration="6.5" 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).
title (required): {"type":"string","minLength":1,"maxLength":40}items (required): {"type":"array","minItems":3,"maxItems":5,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":20},"value":{"type":"number","minimum":0,"maximum":1000000}},"required":["label","value"]}}unit: {"type":"string","minLength":1,"maxLength":6}decimals: {"type":"integer","minimum":0,"maximum":2}cues: {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":5}
cues: scene-relative seconds when each row arrives, in rank order (leave [] to build from last place up automatically).- Give the items highest first (the block checks the order). Bars are scaled to the top value. 16:9 puts the label beside the bar; the other sizes put it above.
Style: colourway (night, cream, grape), accent (optional hex), footer, exit (pop or cut).
Timing
6.5s. Everything has landed by 3.9s (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 { "title": "Best ways to revise", "items": "[{\"label\":\"Practice tests\",\"value\":92},{\"label\":\"Spaced review\",\"value\":88},{\"label\":\"Explaining it\",\"value\":71},{\"label\":\"Re-reading\",\"value\":34}]", "unit": "", "decimals": 0, "cues": "[]" } ``