# Number Counter: Stat & chart element for AI agents

> Number counter: each digit rolls up in its own glass tile, change pill with an arrow below

Canonical page: https://agentframes.ai/elements/frost/number-counter/
Markdown: https://agentframes.ai/elements/frost/number-counter.md

## Overview

- Name: Number Counter (`numberCounter`), an element: one HyperFrames block per size
- Part of: the [Frost](https://agentframes.ai/packs/frost.md) pack (28 of 45). Available only through the All-access subscription.
- Category: Stat & chart
- Purpose: Number counter: each digit rolls up in its own glass tile, change pill with an arrow below
- Pack: [Frost](https://agentframes.ai/packs/frost.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: 9:16 (native), 16:9 (stage-fit)
- Canvases: works on frost haze (hero) (`f`), mist white (`m`), aqua glow (`a`); avoid night glass (`n`)
- Typical duration: 3.6s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/frost/number-counter.mp4
- Poster: https://agentframes.ai/media/frost/number-counter.jpg
- Native 9:16 preview (watermarked): https://agentframes.ai/media/frost/number-counter-native.mp4
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Frost pack. Add a `numberCounter` beat to plan.json on a `f` canvas with slots `kicker`, `value` and `change` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `kicker` | string | Kicker | Plain text. | New followers this month |
| `value` | string | Value | Plain text. | 12,480 |
| `change` | string | Change | Plain text. | +18% vs last month |

## What your agent can change

### Surface

Number counter: each digit rolls up in its own glass tile, change pill with an arrow below. Category: `stat`. Canvases: ok `f, m, a`; avoid `n` (the element vanishes on these). Typical 3.6s; settles at 2.1s.

### Editable (fill through plan.json `slots`)

- `kicker` (string). Plain text.
- `value` (string) **EXAMPLE DATA: replace or get client sign-off**. Plain text.
- `change` (string) **EXAMPLE DATA: replace or get client sign-off**. Plain text.

Optional style/layout overrides: `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 Number Counter?

Your agent fills the `kicker`, `value` and `change` slots through plan.json. Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Frost look.

### Which aspect ratios does Number Counter support?

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

### How do I get Number Counter?

Number Counter is included in the Frost 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 Frost

- [Bar Chart](https://agentframes.ai/elements/frost/bar-chart.md): Bar chart: glass panel, seven glass columns rise, the best day fills teal with its value and a sparkle
- [Progress Ring](https://agentframes.ai/elements/frost/progress-ring.md): Progress ring: glass disc, teal arc draws to the value while the % counts up, sparkle rides the arc end
- [Before / After Stat](https://agentframes.ai/elements/frost/stat-compare.md): Big-number stat on a glass panel: number counts up, before/after bars fill (after in teal)
- [Animated Word](https://agentframes.ai/elements/frost/animated-word.md): Animated word: one big word whose letters defrost one by one from alternating heights, sparkle on the last letter

## Community

Coming soon.
