48 of 54 in the Swatch pack

Routine Steps (numbered smears): Diagram element for AI agents

Up to four numbered steps, each on its own cream smear that swipes in on its cue: side by side in 16:9, stacked in the other sizes..

  • 1:1native
  • 16:9native
  • 9:16native
  • 4:5native

Watermarked preview. The Swatch pack includes all 54 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Swatch pack. Add a `routineSteps` beat to plan.json on a `k` canvas with slots `chip`, `title`, `items` and `cues` from my script. Then run validate → build → qa and show me qa/contact.jpg.

Variables

The slots your agent fills from your script, through plan.json.

SlotTypeWhat it holdsExample
chipstringchip: {"type":"string","minLength":0,"maxLength":20}.
titlestringtitle: {"type":"string","minLength":1,"maxLength":32}.Starting *retinol*
itemsstringitems: JSON string. {"type":"array","minItems":2,"maxItems":4,"items":{"type":"string","minLength":1,"maxLength":44}}.["Twice a week for two weeks","Pea-size on dry skin","Moisturiser on top","SPF every morning"]
cuesstringcues: JSON string. {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":14}.[]

What your agent can change

Routine Steps (numbered smears). Native 1920×1080, 6s at 30fps. A cutaway on the milk ground.

Up to four numbered steps, each on its own cream smear that swipes in on its cue: side by side in 16:9, stacked in the other sizes.

Motion. Each smear swipes on (0.45 s) on its cue, alternating direction. Why it moves. clarity: the order, built as it is described.

Mount

Copy every manifest file into your project (plus af-swatch-runtime). Mount with a unique host id, data-composition-id="af-swatch-routine-steps-16x9", data-composition-src="compositions/af-swatch-routine-steps-16x9.html", data-duration and data-variable-values. A longer data-duration than 6s extends the hold (the exit moves to the end of the mount). Use the variant whose size matches your project: 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).

  • chip: {"type":"string","minLength":0,"maxLength":20}
  • title (required): {"type":"string","minLength":1,"maxLength":32}
  • items (required): {"type":"array","minItems":2,"maxItems":4,"items":{"type":"string","minLength":1,"maxLength":44}}
  • cues: {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":14}
  • cues: one block-relative time per step (from your transcript); leave it empty to space them 0.4 s apart.

Brand and layout

Brand variables (defaults from brand.json): colourway, accent, creator, handle, channel, tagline, monogram, ctaFollow, ctaLink, ctaCode. Layout: capTop (caption top, px), zoneTop (card zone top, px), exit (wipe or hold).

Example

``json { "chip": "", "title": "Starting *retinol*", "items": "[\"Twice a week for two weeks\",\"Pea-size on dry skin\",\"Moisturiser on top\",\"SPF every morning\"]", "cues": "[]" } ``

FAQ

What can my AI agent change in Routine Steps (numbered smears)?

Your agent fills the chip, title, items and cues slots through the block's data-variable-values (or the starter project's variables). Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Swatch look.

Which aspect ratios does Routine Steps (numbered smears) support?

Routine Steps (numbered smears) is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 6s.

How do I get Routine Steps (numbered smears)?

Routine Steps (numbered smears) is included in the Swatch pack, which is part of the AgentFrames All-access subscription along with 53 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.

This is 1 of 54

Get the full Swatch pack

Routine Steps (numbered smears) comes as part of Swatch: 54 elements, 4 starter videos and every size (16:9, 9:16, 4:5, 1:1), re-brandable to your colours in one file. Included in All-access with every other pack.

See the whole pack →

Full frame (16:9) · 26s · made entirely with this pack

More in Swatch

See all 54 elements in Swatch →