Sticker: keycaps (reaction). Native 1920×1080, 3s at 30fps. Sits over the creator's footage (transparent outside its own parts).
One to four cream keycaps (a shortcut, an emoji, a word) that pop in and get pressed.
Motion. Each key pops (back out, 0.28 s) on its cue and is pressed 0.3 s later (8% down, shadow shrinks). Outro: lift and fade. Why it moves. character: the sample's keyboard beat; attention: the shortcut you just used.
Mount
Copy every manifest file into your project (plus af-masthead-runtime). Mount with a unique host id, data-composition-id="af-masthead-keycap-16x9", data-composition-src="compositions/af-masthead-keycap-16x9.html", data-duration="3" and data-variable-values. Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): each is laid out natively, never scaled. Over live footage set backdrop to "" (the default still is only there so the block reads on its own).
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 (text is fitted to at most 75% of its design size, never cut).
keys (required): {"type":"array","minItems":1,"maxItems":4,"items":{"type":"string","maxLength":8,"minLength":1}}scale: {"type":"number","minimum":0.5,"maximum":2}cues: {"type":"array","items":{"type":"number","minimum":0},"maxItems":4,"description":"seconds (block time) at which each item lands"}side: {"type":"string","enum":["left","right"],"description":"16:9 only: which third of the frame the piece sits in"}
Brand and layout
Brand variables (defaults from the pack's brand.json): creator, handle, channel, tagline, series, url, colourway, accent, monogram, logo, avatar, keyword, ctaFollow, ctaLink, ctaCode. colourway is forest, oxblood or ink; accent (hex) recolours the gold serif voice and falls back if it would not read on the slab (4.5:1). Layout: backdrop, speakerFocus (crop of the speaker), capTop (px; 0 = upper chest with clear air under the chin for a centred 16:9 master), zoneTop / zoneEnd (px; 0 = the free zone below the captions; footage with big headroom sets them to the band above the head).
Example
``json { "keys": "[\"⌘\",\"S\"]", "scale": 1, "side": "left" } ``