10 of 46 in the Lookbook pack

Discount Code Card: Label & callout element for AI agents

Discount code card: a light block with 'my code', the code in big Playfair and the partner line, a deep 'link in bio' tag breaks out, nudges and presses.

Designed natively for 1:1. Above: the same element in the pack's 16:9 layout.
  • 1:1native
  • 16:9stage-fit
  • 9:16stage-fit
  • 4:5stage-fit

Watermarked preview. The Lookbook pack includes all 46 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Lookbook pack. Add a `codeCard` beat to plan.json on a `w` canvas with slots `photo`, `eyebrow`, `code`, `partner` and `cta` 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
photostringPhoto: Plain text.
eyebrowstringEyebrow: Plain text.my code
codestringCode: Plain text.MAYA15
partnerstringPartner: Plain text.rue nine · 15% off
ctastringCta: Plain text.link in bio

What your agent can change

Surface

Discount code card: a light block with 'my code', the code in big Playfair and the partner line, a deep 'link in bio' tag breaks out, nudges and presses. Category: label. Canvases: ok w, g, o, b, t, k. Typical 3.6s; settles at 1.8s. Safe to sit beside a speaker cut-out.

Editable (fill through plan.json slots)

  • photo (string). Plain text.
  • eyebrow (string). Plain text.
  • code (string) EXAMPLE DATA: replace or get client sign-off. Plain text.
  • partner (string) EXAMPLE DATA: replace or get client sign-off. Plain text.
  • cta (string). Plain text.

Optional style/layout overrides: way, backdrop, photoPos, y. Use them only to fix fit, never to change the brand.

Protected

Do not change the motion, timing, easing, bounce, the palette roles (colours come from frame.md → tokens.css), fonts, or the element's internal layout. Keep copy close to the default length (±25%) so it fits.

Safe editing

Set values in the beat's slots in plan.json, run tools/validate.mjs, rebuild, and check qa/contact.jpg. Never hand-edit the generated index.html or this element's code for a single video.

FAQ

What can my AI agent change in Discount Code Card?

Your agent fills the photo, eyebrow, code, partner and cta slots through plan.json. Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Lookbook look.

Which aspect ratios does Discount Code Card support?

Discount Code Card is designed natively for 1:1 and stage-fits into 4:5, 9:16 and 16:9. A typical beat lasts 3.6s.

How do I get Discount Code Card?

Discount Code Card is included in the Lookbook pack, which is part of the AgentFrames All-access subscription along with 45 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 46

Get the full Lookbook pack

Discount Code Card comes as part of Lookbook: 46 elements, 4 starter videos and every size (1:1, 4:5, 9:16, 16:9), re-brandable to your colours in one file. Included in All-access with every other pack.

See the whole pack →

Side by side (16:9) · 30s · made entirely with this pack

More in Lookbook

See all 46 elements in Lookbook →