28 of 50 in the Glide pack

Phone glide: Diagram element for AI agents

A phone floats up beside the header; 3-8 rows from ui.json land on its screen and the target row lifts out of the phone, larger, in front..

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

Watermarked preview. The Glide pack includes all 50 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Glide pack. Add a `phoneGlide` beat to plan.json on a `apricot-day` canvas with slots `eyebrow`, `title`, `panel` and `target` 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
eyebrowstringeyebrow: {"type":"string","minLength":0,"maxLength":28}.On your phone
titlestringtitle: {"type":"string","minLength":1,"maxLength":36}.Your day, *in your pocket*.
panelstringpanel: {"type":"object","properties":{"type":{"type":"string","enum":["list"]},"title":{"type":"string","minLength":0,"maxLength":24},"rows":{"type":"array","minItems":3,"maxItems":8,"items":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":28},"meta":{"type":"string","minLength":0,"maxLength":12},"badge":{"type":"string","minLength":0,"maxLength":12},"icon":{"type":"string","enum":["spark","calendar","clock","card","chart","bolt","check","chat","doc","user","users","video","bell","link","star","globe","lock","send","heart","infinity","sheet","mail","camera","brush","home","cart","rocket","search"]}},"required":["title"]}}},"required":["type","rows"]}.{"type":"list","title":"Today","rows":[{"title":"Brand shoot · Maya","meta":"09:30","badge":"Paid","icon":"camera"},{"title":"Logo review · Tom","meta":"11:00","badge":"Paid","icon":"brush"},{"title":"Discovery call · Ines","meta":"14:15","icon":"video"},{"title":"Edit hand-off · Raj","meta":"16:40","badge":"Deposit","icon":"doc"}]}
targetnumbertarget: {"type":"integer","minimum":0,"maximum":7}.3

What your agent can change

Phone glide · pilot role: Mobile app. A phone floats up beside the header; 3-8 rows from ui.json land on its screen and the target row lifts out of the phone, larger, in front.

Why it moves: change: the phone floats in, its rows land, and the picked row glides out of the screen toward the viewer, the feature lifted out for a close look

Native 1920×1080, 5.5s at 30 fps. Graphics only (no footage). Use the matching aspect variant; never stretch another size.

Mount

Copy every manifest file path→target, plus af-glide-runtime. Mount with a unique host id, data-composition-id="af-glide-phone-glide-16x9", data-composition-src="compositions/af-glide-phone-glide-16x9.html" and data-variable-values (JSON object). The starter projects already contain everything.

Slots (content)

  • eyebrow: {"type":"string","minLength":0,"maxLength":28}
  • title: {"type":"string","minLength":1,"maxLength":36}
  • panel: JSON string; {"type":"object","properties":{"type":{"type":"string","enum":["list"]},"title":{"type":"string","minLength":0,"maxLength":24},"rows":{"type":"array","minItems":3,"maxItems":8,"items":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":28},"meta":{"type":"string","minLength":0,"maxLength":12},"badge":{"type":"string","minLength":0,"maxLength":12},"icon":{"type":"string","enum":["spark","calendar","clock","card","chart","bolt","check","chat","doc","user","users","video","bell","link","star","globe","lock","send","heart","infinity","sheet","mail","camera","brush","home","cart","rocket","search"]}},"required":["title"]}}},"required":["type","rows"]}
  • target: {"type":"integer","minimum":0,"maximum":7}

Nested slots are JSON strings inside data-variable-values. A panel is a ui.json block: {"type":"list","title":"...","rows":[{"title","meta","badge","icon"}]}, or {"type":"shot","src":"data:image/png;base64,..."} for a screenshot (where the slot allows it).

Style

brandName (1-24), logo (empty → monogram app icon, or an inline base64 image), look (day | dusk), colourway (apricot | lagoon | iris), accent (empty or #RRGGBB, overrides the colourway accent), timeOffset (seconds of film time at this scene; keeps the drifting background continuous across cuts).

Headline syntax: \n breaks a line. *word* is the key word (accent colour).

Limits and errors

Out-of-range input stops the block with a message on data-glide-error and in the console (for example "steps has 5 items; supported: 2-4"). Copy that is within the character limits but still too wide or tall for this size is also refused ("does not fit the 16x9 layout"), never shrunk. Everything has landed by 3.3s; the last 0.4 s is the outro.

Source: editable HTML + local GSAP and fonts. Deterministic (no randomness, no clock). See the pack LICENCE.md and NOTICE.

FAQ

What can my AI agent change in Phone glide?

Your agent fills the eyebrow, title, panel and target 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 Glide look.

Which aspect ratios does Phone glide support?

Phone glide is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 5.5s.

How do I get Phone glide?

Phone glide is included in the Glide pack, which is part of the AgentFrames All-access subscription along with 49 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 50

Get the full Glide pack

Phone glide comes as part of Glide: 50 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) · 57s · made entirely with this pack

More in Glide

See all 50 elements in Glide →