# Stat Tiles: Stat & chart element for AI agents

> The title lands in heavy type with its code tag clipped on; then one rounded tile per item lands with a little weight on its cue (white, yellow, grey): a rank coin, the name in heavy type, 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). On footage it hangs on a white pass beside or under you, so your video stays full-frame.

Canonical page: https://agentframes.ai/elements/lanyard/stat-tiles/
Markdown: https://agentframes.ai/elements/lanyard/stat-tiles.md

## Overview

- Name: Stat Tiles (`statTiles`), an element: one HyperFrames block per size
- Part of: the [Lanyard](https://agentframes.ai/packs/lanyard.md) pack (37 of 45). Available only through the All-access subscription.
- Category: Stat & chart
- Purpose: The title lands in heavy type with its code tag clipped on; then one rounded tile per item lands with a little weight on its cue (white, yellow, grey): a rank coin, the name in heavy type, 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). On footage it hangs on a white pass beside or under you, so your video stays full-frame.
- Pack: [Lanyard](https://agentframes.ai/packs/lanyard.md), included in All-access (from $14/month billed annually ($168/year), or $19 monthly)
- Subscribe: POST https://agentframes.ai/api/checkout/subscribe with interval=month or interval=year (optional currency=USD|GBP|EUR|AUD|CAD; 303 redirect to Stripe checkout; a human pays there). Then download any pack with the subscriber key: https://agentframes.ai/account.md
- Aspects: 16:9 (native), 9:16 (native), 4:5 (native), 1:1 (native)
- Canvases: works on pass grey (`a`), grey 2 (`g`), deep navy (`d`); avoid none
- Typical duration: 6s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/lanyard/stat-tiles.mp4
- Poster: https://agentframes.ai/media/lanyard/stat-tiles.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Lanyard pack. Add a `statTiles` beat to plan.json on a `a` canvas with slots `eyebrow`, `title`, `script` and `items` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `eyebrow` | string | Eyebrow | Plain text. | 3 offers, compared |
| `title` | string | Title | Plain text. | what I was *offered* |
| `script` | string | Script | Plain text. | per year |
| `items` | string | Items | JSON string; see constraints.json. | [{"name":"Agency","value":38,"pre":"£","suf":"k","note":"hybrid, 2 days"},{"name":"Start-up","value":45,"pre":"£","suf":"k","note":"remote, equity"},{"name":"Bank","value":52,"pre":"£","suf":"k","note":"office, bonus"}] |

## What your agent can change

The title lands in heavy type with its code tag clipped on; then one rounded tile per item lands with a little weight on its cue (white, yellow, grey): a rank coin, the name in heavy type, 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). On footage it hangs on a white pass beside or under you, so your video stays full-frame.

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-lanyard-stat-tiles-16x9", data-composition-src="compositions/af-lanyard-stat-tiles-16x9.html" and data-variable-values. Copy every manifest file to its target and include the af-lanyard-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 offers, compared"
- title (string): Plain text. Default "what I was *offered*"
- script (string): Plain text. Default "per year"
- items (string): JSON string; see constraints.json. Default "[{\"name\":\"Agency\",\"value\":38,\"pre\":\"£\",\"suf\":\"k\",\"note\":\"hybrid, 2 days\"},{\"name\":\"Start-up\",\"value\":45,\"pre\":\"£\",\"suf\":\"k\",\"note\":\"remote, equity\"},{\"name\":\"Bank\",\"value\":52,\"pre\":\"£\",\"suf\":\"k\",\"note\":\"office, bonus\"}]"

Arrays and objects are JSON strings at the native boundary. constraints.json describes their decoded shape and numeric/text limits; failures report lanyardError 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 (badge/nightshift/offer), 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?

Your agent fills the `eyebrow`, `title`, `script` and `items` 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 Lanyard look.

### Which aspect ratios does Stat Tiles support?

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

### How do I get Stat Tiles?

Stat Tiles is included in the Lanyard 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.

## More in Lanyard

- [Application Tracker](https://agentframes.ai/elements/lanyard/app-tracker.md): On a white pass: one row per job application lands on its cue (company, role in code type) and its status chip stamps on: applied, interview, offer or no; the tally counts at the foot. Also ships as a still (4:5, 1:1).
- [Bar Chart](https://agentframes.ai/elements/lanyard/bar-chart.md): The title lands with its code tag; rounded pill bars grow up from the baseline one after another (tile colours, the highlighted bar in pass blue with a mini eyelet on top) and their values count up, never past the value. Also ships as a still (4:5, 1:1). On footage it hangs on a white pass beside or under you, so your video stays full-frame.
- [Donut Chart](https://agentframes.ai/elements/lanyard/donut-chart.md): A thick blue ring draws round to the value (blue over a pale track, round caps) while the percentage counts up in the centre (never past it); short rays flick out round the ring when it lands; the label and legend sit beside it. Also ships as a still (4:5, 1:1). On footage it hangs on a white pass beside or under you, so your video stays full-frame.
- [Interview Pass](https://agentframes.ai/elements/lanyard/interview-pass.md): A big interview ticket slides in: INTERVIEW PASS types on, the role lands in heavy type, company, date, time and round fill a code grid, the stub carries a barcode and ADMIT ONE; on `at` the stub tears off and "you're in" is underneath.

## Community

Coming soon.
