37 of 47 in the Bright pack

Spots left: Stat & chart element for AI agents

The number steps down to how many spots are left, then the button presses in..

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

Watermarked preview. The Bright pack includes all 47 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Bright pack. Add a `spotsLeft` beat to plan.json on a `cream` canvas with slots `line`, `from`, `to`, `unit` and `button` 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
linestringline: {"type":"string","minLength":1,"maxLength":32,"pattern":"^[^\\n]*(\\n[^\\n]*){0,1}$"}.May is *filling up
fromnumberfrom: {"type":"integer","minimum":1,"maximum":30}.8
tonumberto: {"type":"integer","minimum":0,"maximum":29}.3
unitstringunit: {"type":"string","minLength":1,"maxLength":22}.spots left in May
buttonstringbutton: {"type":"string","minLength":1,"maxLength":20}.Grab a spot

What your agent can change

Spots left · role: Scarcity. The number steps down to how many spots are left, then the button presses in.

Native 1920×1080, 6s at 30 fps. Service Ads (content type service). Use the matching aspect variant; never stretch another size.

Mount

Copy every manifest file path→target, plus af-bright-runtime. Mount with a unique host id, data-composition-id="af-bright-spots-left-16x9", data-composition-src="compositions/af-bright-spots-left-16x9.html" and data-variable-values (JSON object). The starter projects already contain everything; there, edit brand.json and business.json and run npm run brand.

Slots (content)

  • line: {"type":"string","minLength":1,"maxLength":32,"pattern":"^[^\\n]*(\\n[^\\n]*){0,1}$"}
  • from: {"type":"integer","minimum":1,"maximum":30}
  • to: {"type":"integer","minimum":0,"maximum":29}
  • unit: {"type":"string","minLength":1,"maxLength":22}
  • button: {"type":"string","minLength":1,"maxLength":20}

Headline syntax (caps slots such as headline, line, tagline, name): \n breaks a line; a line that starts with *, _ or ~ sits on a primary, secondary or tertiary highlighter swipe. Scrawl notes (note, eyebrow, deadline) accept \n too. In quote, *phrase* gets the highlighter.

Images (format: image) are paths inside the project (assets/people/me.png) or inline base64. Portraits (photo) must be cut-outs: transparent PNG of the person from the waist or chest up, trimmed, at least 1200 px tall. Job photos (before, after) are JPG/WebP, at least 1200 px on the short side, shot from the same angle; they are cropped to fill. Client avatars are square. A missing file stops the block with "image not found: <path>".

Style

brandName (1-24, the typeset name), logo (empty = typeset name, or an image path / base64), primary / secondary / tertiary (#RRGGBB highlighter colours), canvas (cream | blush | night). Text on a swipe picks white or near-black automatically for contrast.

Limits and errors

Out-of-range input stops the block with a message on data-bright-error and in the console (for example "items has 5 items; supported: 3-4"). Copy that is within the character limits but still too wide for this size is refused ("does not fit the 16x9 layout"), never shrunk. The build has landed by 3.6s; 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 Spots left?

Your agent fills the line, from, to, unit and button 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 Bright look.

Which aspect ratios does Spots left support?

Spots left is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 6s.

How do I get Spots left?

Spots left is included in the Bright pack, which is part of the AgentFrames All-access subscription along with 46 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 47

Get the full Bright pack

Spots left comes as part of Bright: 47 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 →

Landscape (16:9) · 41s · made entirely with this pack

More in Bright

See all 47 elements in Bright →