Stat (beside the face). Native 1920×1080, 5s at 30fps. Sits over the creator's full-bleed footage (transparent outside its own parts).
One figure in big italic Bodoni that counts up on a cream smear, its label in spaced caps, an optional italic note under it.
Motion. The smear swipes on; the figure counts up over 0.7 s (ease-out) and lands exactly on its value; the note fades up. Why it moves. attention: the count landing is the beat.
Mount
Copy every manifest file into your project (plus af-swatch-runtime). Mount with a unique host id, data-composition-id="af-swatch-stat-16x9", data-composition-src="compositions/af-swatch-stat-16x9.html", data-duration and data-variable-values. A longer data-duration than 5s extends the hold (the exit moves to the end of the mount). Use the variant whose size matches your project: 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).
label (required): {"type":"string","minLength":1,"maxLength":24}value (required): {"type":"string","minLength":1,"maxLength":8}note: {"type":"string","minLength":0,"maxLength":28}side: {"type":"string","enum":["left","right"]}backdrop: {"type":"string","minLength":0,"maxLength":200}
value is shown exactly as written once it lands ("80%", "SPF 50", "2x").- 16:9 uses the empty third beside the face; 9:16 the band under the chin (clear of the right-hand platform buttons); 4:5 and 1:1 the lower zone. Move it with
zoneTop. backdrop is a still of the speaker so the block reads on its own; set it to "" over your live footage.
Brand and layout
Brand variables (defaults from brand.json): colourway, accent, creator, handle, channel, tagline, monogram, ctaFollow, ctaLink, ctaCode. Layout: capTop (caption top, px), zoneTop (card zone top, px), exit (wipe or hold).
Example
``json { "label": "of UV gets through cloud", "value": "80%", "note": "SPF every single day.", "side": "left", "backdrop": "assets/af-swatch/media/speaker-16x9.jpg" } ``