34 of 45 in the Solar pack

Stat Tiles Ranking: Stat & chart element for AI agents

The title lands in heavy caps with its script line written across it; then one rounded tile per item lands with a little weight on its cue (blush, apricot, peach): a rank coin, the name in heavy caps, the number counting up to its value (never past it) and a short note. Tall layouts stack the tiles; band layouts set them side by side. Use it in a window:"bar" beat so the speaker stays on screen as a strip. Also ships as a still (4:5, 1:1)..

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

Watermarked preview. The Solar pack includes all 45 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Solar pack. Add a `statTiles` beat to plan.json on a `a` canvas with slots `eyebrow`, `title`, `script`, `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
eyebrowstringEyebrow: Plain text.3 sunny weekends
titlestringTitle: Plain text.what I *spent*
scriptstringScript: Plain text.per person
itemsstringItems: JSON string; see constraints.json.[{"name":"Valencia","value":212,"pre":"£","note":"flights from £40"},{"name":"Porto","value":186,"pre":"£","note":"sunset for a coffee"},{"name":"Split","value":248,"pre":"£","note":"no crowds in October"}]
cuesstringCues: JSON array of seconds from the start of this scene, one per item: when the speaker says each item (take them from the transcript). [] spreads the items evenly through the first half of the scene.

What your agent can change

The title lands in heavy caps with its script line written across it; then one rounded tile per item lands with a little weight on its cue (blush, apricot, peach): a rank coin, the name in heavy caps, the number counting up to its value (never past it) and a short note. Tall layouts stack the tiles; band layouts set them side by side. Use it in a window:"bar" beat so the speaker stays on screen as a strip. Also ships as a still (4:5, 1:1).

Native 1920x1080, eight seconds at 30fps. Use the matching native aspect variant; do not stretch a finished scene.

Author and mount

The HTML is editable HyperFrames source. Change its native variable declarations or mount it with a unique host id, data-composition-id="af-solar-stat-tiles-16x9", data-composition-src="compositions/af-solar-stat-tiles-16x9.html" and data-variable-values. Copy every manifest file to its target and include the af-solar-runtime dependency. The shipped projects already install this closure; private ZIP delivery supplies no hosted add endpoint.

Content

  • ground (enum): Default "canvas"
  • eyebrow (string): Plain text. Default "3 sunny weekends"
  • title (string): Plain text. Default "what I *spent*"
  • script (string): Plain text. Default "per person"
  • items (string): JSON string; see constraints.json. Default "[{\"name\":\"Valencia\",\"value\":212,\"pre\":\"£\",\"note\":\"flights from £40\"},{\"name\":\"Porto\",\"value\":186,\"pre\":\"£\",\"note\":\"sunset for a coffee\"},{\"name\":\"Split\",\"value\":248,\"pre\":\"£\",\"note\":\"no crowds in October\"}]"
  • cues (string): JSON array of seconds from the start of this scene, one per item: when the speaker says each item (take them from the transcript). [] spreads the items evenly through the first half of the scene. Default ""

Arrays and objects are JSON strings at the native boundary. constraints.json describes their decoded shape and numeric/text limits; failures report solarError on the root and an actionable console message. n is zero-based and must index the supplied slides or covers. Export a settled frame at 2.4s for stills; change n and repeat for a carousel deck/highlight set. Thumbnail layout accepts face, versus and list.

Creator and palette

creator, handle, channel, tagline, colourway (sunny/sunset/poolside), accent (empty or six-digit hex), monogram (1-3 characters), logo, avatar, subscribers, ctaFollow, ctaLink, ctaCode are instance-local. Blank automatic name/by/sign/button/etc slots derive from the current kit rather than preserving the fictional demo creator. Image paths can be local project assets, https URLs or inline data; ship new local images in the manifest. Bundled photos are generated fictional example media.

Geometry and timing

Full native canvas is the default. stageX, stageY, stageWidth, stageHeight place the design in an authored speaker zone, within the canvas; stageKind=full/gfx/dock selects its native composition logic and stageSpeaker describes the speaker side. transparent clears the outer canvas for overlays. delay offsets the entrance; sceneDuration supplies the visible beat length (0.1-8s), and delay must be shorter. Motion is paced for reading on a talking-head video and automatically tightens to finish inside a short sceneDuration; the design draws out over its final 0.4s. Where the design has a cues input, set it from the transcript so each item lands as it is spoken. The block owns a paused eight-second timeline; clip a shorter beat at its parent mount. Extend HTML duration, manifest duration and timeline hold together for longer scenes.

The runtime helper creates local tokens and drawing state for each host. It preserves GSAP frame quantization and deterministic hooks; no plan.json, global OC brand or proprietary build tool is required. See the pack licence, HyperFrames NOTICE and local font licences.

FAQ

What can my AI agent change in Stat Tiles Ranking?

Your agent fills the eyebrow, title, script, 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 Solar look.

Which aspect ratios does Stat Tiles Ranking support?

Stat Tiles Ranking is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 6s.

How do I get Stat Tiles Ranking?

Stat Tiles Ranking is included in the Solar pack, which is part of the AgentFrames All-access subscription along with 44 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 45

Get the full Solar pack

Stat Tiles Ranking comes as part of Solar: 45 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 →

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

More in Solar

See all 45 elements in Solar →