Carousel Slide (still). Native 1920×1080, 3s at 30fps.
A four-slide carousel exported as stills (cover, two rooms, book); the airmail stripe runs across the slide edges so they join when swiped.
Motion. None: a still. Render frame 0 of each slide (slide 1 to 4). Why it moves. continuity: one stripe across all four slides.
Mount
Copy every manifest file into your project (plus af-postmark-runtime). Mount with a unique host id, data-composition-id="af-postmark-carousel-slide-16x9", data-composition-src="compositions/af-postmark-carousel-slide-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.
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).
slide (required): {"type":"integer","minimum":1,"maximum":4}slides (required): {"type":"array","minItems":4,"maxItems":4,"items":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":34},"caption":{"type":"string","minLength":0,"maxLength":26},"photo":{"type":"string","minLength":0,"maxLength":200},"focus":{"type":"string","minLength":0,"maxLength":20}},"required":["title"]}}
- Export each slide as a still with
slide set to 1, 2, 3 and 4.
Style: colourway (airmail, seaside, alpine), brandColour and accent (optional hex), agency, footer, exit (lift or cut).
Timing
3s. Everything has landed by 1.8s (60%), then the scene holds still for reading and the graphics lift away over the last 0.4 s, leaving the photo or your footage.
Example
``json { "slide": 1, "slides": "[{\"title\":\"Wish you were *here*\",\"caption\":\"the cabin, Borrowdale\",\"photo\":\"assets/af-postmark/media/demo/cabin-exterior.jpg\"},{\"title\":\"The *snug*\",\"caption\":\"log burner lit\",\"photo\":\"assets/af-postmark/media/demo/living.jpg\"},{\"title\":\"The *tub*\",\"caption\":\"at dusk\",\"photo\":\"assets/af-postmark/media/demo/hot-tub.jpg\"},{\"title\":\"Book *direct*\",\"caption\":\"littleacorn.example\",\"photo\":\"\"}]" } ``