Rate It /10. Native 1920×1080, 5s at 30fps. Sits over the creator's full-bleed footage (transparent outside its own parts).
A score out of ten: ten shade dabs press on in an arc up to the score (the last in cherry), the score in italic Bodoni and the product name beside it.
Motion. The milk smear swipes on; dabs press on 0.07 s apart; the score pops; the label fades up. Why it moves. attention: the arc filling is suspense, the score is the verdict.
Mount
Copy every manifest file into your project (plus af-swatch-runtime). Mount with a unique host id, data-composition-id="af-swatch-rate-it-16x9", data-composition-src="compositions/af-swatch-rate-it-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).
score (required): {"type":"string","minLength":1,"maxLength":4}label: {"type":"string","minLength":0,"maxLength":34}backdrop: {"type":"string","minLength":0,"maxLength":200}
score is 0-10.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 { "score": "8", "label": "The *cult* cleanser", "backdrop": "assets/af-swatch/media/speaker-16x9.jpg" } ``