Takeaway: Marked Word + CTA Switch. Native 1920×1080, 7s at 30fps.
Ends the explainer: the takeaway types on in caps, a white box sweeps in behind the key word, then the call to action arrives as a switch whose knob slides on, with the handle below.
Motion. Letters type on out of a blur; the mark box wipes in left to right (ease-out) and the word inverts; the CTA switch pops in (small overshoot), its knob slides on and rays burst once round the knob; handle tracking collapses. Why it moves. attention + continuity: the marked word is the one to remember, and the same switch that runs through the film turns the viewer's action on.
Mount
Copy every manifest file into your project (plus af-toggle-runtime). Mount with a unique host id, data-composition-id="af-toggle-takeaway-16x9", data-composition-src="compositions/af-toggle-takeaway-16x9.html", data-duration="7" 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).
text (required): {"type":"string","minLength":1,"maxLength":60}mark: {"type":"string","minLength":1,"maxLength":16}action: {"type":"string","minLength":1,"maxLength":32}handle: {"type":"string","minLength":1,"maxLength":30}
mark must be a word in text (punctuation is ignored); the first match is boxed.text uses "|" for line breaks (max 3 lines).
Style: colourway (lime, cobalt, coral), accent (optional hex), footer, ground (dark or accent, default accent), exit (slide or cut).
Timing
7s. Everything has landed by 4.2s (60%), then the scene holds for reading (the grid and the faint rings slow to a residual drift, text stays still) and slides out to the left in a motion blur over the last 0.5 s, leaving the empty ground.
Example
``json { "text": "Hook first.|Everything|else second.", "mark": "first", "action": "Follow for daily hooks", "handle": "@hookdaily" } ``