27 of 43 in the Sunburst pack

Number Counter: Stat & chart element for AI agents

Big number: a label says what's counted, a wide outlined pill boings in and the outlined number counts up inside it, then a badge slaps the unit on its corner.

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 Sunburst pack includes all 43 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Sunburst pack. Add a `numberCounter` beat to plan.json on a `s` canvas with slots `value`, `prefix`, `suffix`, `eyebrow`, `unit`, `sub`, `pillColor`, `badgeColor` and `countFor` 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
valuenumberValue: Plain text.12400
prefixstringPrefix: Plain text.
suffixstringSuffix: Plain text.
eyebrowstringEyebrow: Plain text.my last thrift flip got
unitstringUnit: Plain text.views!
substringSub: Plain text.thank you, thrift fam
pillColorstringPill Color: Plain text.blue
badgeColorstringBadge Color: Plain text.mustard
countFornumberCount For: Plain text.1.6

What your agent can change

Surface

Big number: a label says what's counted, a wide outlined pill boings in and the outlined number counts up inside it, then a badge slaps the unit on its corner. Category: stat. Canvases: ok s, r, m, p; avoid b, x, z (the element vanishes on these). Typical 4s; settles at 2.4s.

Editable (fill through plan.json slots)

  • value (number) EXAMPLE DATA: replace or get client sign-off. Plain text.
  • prefix (string). Plain text.
  • suffix (string). Plain text.
  • eyebrow (string) EXAMPLE DATA: replace or get client sign-off. Plain text.
  • unit (string) EXAMPLE DATA: replace or get client sign-off. Plain text.
  • sub (string) EXAMPLE DATA: replace or get client sign-off. Plain text.
  • pillColor (string). Plain text.
  • badgeColor (string). Plain text.
  • countFor (number). Plain text.

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 Number Counter?

Your agent fills the value, prefix, suffix, eyebrow, unit, sub, pillColor, badgeColor and countFor slots through plan.json. Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Sunburst look.

Which aspect ratios does Number Counter support?

Number Counter is designed natively for 1:1 and stage-fits into 4:5, 9:16 and 16:9. A typical beat lasts 4s.

How do I get Number Counter?

Number Counter is included in the Sunburst pack, which is part of the AgentFrames All-access subscription along with 42 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 43

Get the full Sunburst pack

Number Counter comes as part of Sunburst: 43 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 Sunburst

See all 43 elements in Sunburst →