Legend (overlay). Native 1920×1080, 4s at 30fps. Transparent overlay: mount it on a track above a host scene.
A key for any Gilt chart or footage: a dark glass card with a gold hairline edge lists up to five swatches (metal, grey, white or hot) with labels. Transparent; mount it on a track above the host scene.
Motion. The card slides in from its edge and settles; rows slide in 0.12 s apart; fades out over the last 0.4 s. Why it moves. attention: it tells the viewer how to read the colours before they have to ask.
Mount
Copy every manifest file into your project (plus af-gilt-runtime). Mount with a unique host id, data-composition-id="af-gilt-legend-16x9", data-composition-src="compositions/af-gilt-legend-16x9.html", data-duration="4" 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).
title: {"type":"string","minLength":1,"maxLength":18}items (required): {"type":"array","minItems":1,"maxItems":5,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":22},"colour":{"type":"string","enum":["metal","grey","white","hot"]}},"required":["label"]}}position: {"type":"string","enum":["tl","tr","bl","br"]}
position is the corner (tl, tr, bl, br); in 9:16 the card keeps clear of the platform UI.
Style: colourway, accent.
Timing
4s. Everything has landed by 2.4s (60%), then the scene holds for reading (the light beams slow to a residual drift and the glow breathes; text stays still).
Example
``json { "title": "Key", "items": "[{\"label\":\"Focus hour\",\"colour\":\"metal\"},{\"label\":\"Always on\",\"colour\":\"grey\"}]", "position": "tr" } ``