Big Statistic: Counter + Picture. Native 1920×1080, 5.5s at 30fps.
One number that matters. An optional picture card turns in, the big number counts up in the accent beside it (16:9) or under it, and the label and note rise.
Motion. The card rises and straightens (back-out); the number counts on an ease-out curve and never passes its value; the label and note rise as it lands. Why it moves. change: the count makes the size of the number felt, and the picture gives it something to be about.
Mount
Copy every manifest file into your project (plus af-shuffle-runtime). Mount with a unique host id, data-composition-id="af-shuffle-big-statistic-16x9", data-composition-src="compositions/af-shuffle-big-statistic-16x9.html", data-duration="5.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).
value (required): {"type":"number","minimum":0,"maximum":1000000000}prefix: {"type":"string","minLength":1,"maxLength":3}unit: {"type":"string","minLength":1,"maxLength":6}decimals: {"type":"integer","minimum":0,"maximum":2}label (required): {"type":"string","minLength":1,"maxLength":70}note: {"type":"string","minLength":1,"maxLength":48}img: {"type":"string","minLength":1,"maxLength":300}
- The number must fit the space: the block asks for a shorter form (for example 1.2m) rather than shrinking it.
- Picture slots take "1"-"16" (the bundled picture library, see
docs/PICTURES.md) or a project-relative path to your own .jpg/.png/.webp (e.g. "assets/my/photo.jpg"). Pictures are cropped to fill their card (object-fit: cover).
Style: colourway (cobalt, tomato, forest), accent (optional hex), footer, ground (paper or black, default paper), exit (lift or cut).
Timing
5.5s. Everything has landed by 3.3s (60%), then the scene holds for reading (the dot grid and the pictures inside their cards drift at a slow residual rate; text stays still) and the content lifts away over the last 0.45 s, leaving the empty ground.
Example
``json { "value": 3, "unit": "x", "decimals": 0, "label": "faster sign-off when the client sees a board first", "note": "Illustrative figure", "img": "13" } ``