Opening Hook: Drop-In Title + Pal. Native 1920×1080, 5.5s at 30fps.
Opens the explainer: a candy tag slaps on, the title drops in letter by letter and lands with a squash, candy bits burst out from behind it, and a googly-eyed pal pops up beside the last word, looks at it, then looks at you. A kicker sets up the promise.
Motion. Tag scales down from 1.6x and spins to its tilt (spring); letters fall a short way 0.04 s apart, land with a squash and settle; a ring of candy bits shoots out and shrinks away once; the pal springs up and squashes, its eyes move from the words to the viewer and blink once; kicker rises; everything pops away at the end. Why it moves. attention + character: the falling letters set a bouncy reading rhythm and the pal gives the viewer someone to follow.
Mount
Copy every manifest file into your project (plus af-gumdrop-runtime). Mount with a unique host id, data-composition-id="af-gumdrop-opening-hook-16x9", data-composition-src="compositions/af-gumdrop-opening-hook-16x9.html", data-duration="5.5" 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).
label: {"type":"string","minLength":1,"maxLength":28}title (required): {"type":"string","minLength":1,"maxLength":40}kicker: {"type":"string","minLength":1,"maxLength":64}
title uses "|" to choose line breaks (max 3 lines; never shrunk to fit). The pal sits after the last line, or before the first if the line is too long.
Style: colourway (night, cream, grape), accent (optional hex), footer, exit (pop or cut).
Timing
5.5s. Everything has landed by 3.3s (60%), then the scene holds for reading (the small candy shapes in the margins bob at a residual drift, text stays still) and every piece pops away over the last 0.5 s, leaving the empty ground.
Example
``json { "label": "Study smarter", "title": "Learn it once.|Keep it.", "kicker": "The trick memory champions use." } ``