
Top Five (numbered)
Up to five items numbered in italic Bodoni on a tall cream smear, the title on top, each row landing on its cue.
- 1:1native
- 16:9native
- 9:16native
- 4:5native
49 of 54 in the Swatch pack
Up to five ranked smears, the winner on cherry gloss at the top, each narrower below; they land from the bottom up..
Watermarked preview. The Swatch pack includes all 54 elements, clean and editable, in every size.
Use the AgentFrames Swatch pack. Add a `ranking` beat to plan.json on a `k` canvas with slots `chip`, `title`, `items` and `cues` from my script. Then run validate → build → qa and show me qa/contact.jpg.The slots your agent fills from your script, through plan.json.
| Slot | Type | What it holds | Example |
|---|---|---|---|
chip | string | chip: {"type":"string","minLength":0,"maxLength":20}. | |
title | string | title: {"type":"string","minLength":1,"maxLength":32}. | Best *budget* moisturisers |
items | string | items: JSON string. {"type":"array","minItems":2,"maxItems":5,"items":{"type":"string","minLength":1,"maxLength":26}}. | ["Ceramide cream","Gel-cream","Barrier balm","Squalane lotion","Oat cream"] |
cues | string | cues: JSON string. {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":14}. | [] |
Ranking. Native 1920×1080, 5s at 30fps. A cutaway on the milk ground.
Up to five ranked smears, the winner on cherry gloss at the top, each narrower below; they land from the bottom up.
Motion. Smears swipe on, #5 first and #1 last. Why it moves. attention: counting up to number one.
Copy every manifest file into your project (plus af-swatch-runtime). Mount with a unique host id, data-composition-id="af-swatch-ranking-16x9", data-composition-src="compositions/af-swatch-ranking-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.
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).
chip: {"type":"string","minLength":0,"maxLength":20}title (required): {"type":"string","minLength":1,"maxLength":32}items (required): {"type":"array","minItems":2,"maxItems":5,"items":{"type":"string","minLength":1,"maxLength":26}}cues: {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":14}items best first. cues: one block-relative time per row (bottom row first) (from your transcript); leave it empty to space them 0.25 s apart.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).
``json { "chip": "", "title": "Best *budget* moisturisers", "items": "[\"Ceramide cream\",\"Gel-cream\",\"Barrier balm\",\"Squalane lotion\",\"Oat cream\"]", "cues": "[]" } ``
Your agent fills the chip, title, items and cues slots through the block's data-variable-values (or the starter project's variables). Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Swatch look.
Ranking is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 5s.
Ranking is included in the Swatch pack, which is part of the AgentFrames All-access subscription along with 53 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.
This is 1 of 54
Ranking comes as part of Swatch: 54 elements, 4 starter videos and every size (16:9, 9:16, 4:5, 1:1), re-brandable to your colours in one file. Included in All-access with every other pack.

Up to five items numbered in italic Bodoni on a tall cream smear, the title on top, each row landing on its cue.

Two smear cards (cream and blush) with an italic name and up to four lines each, an italic "vs" between them.

Up to five steps along a hairline (cleanse, tone, serum, moisturise, SPF): each a shade dab pressed on its cue with the time in spaced caps and the step in italic Bodoni.

Up to four numbered steps, each on its own cream smear that swipes in on its cue: side by side in 16:9, stacked in the other sizes.
Community: coming soon · Markdown version of this page