# Then vs Now: Stat & chart element for AI agents

> Two stat tiles side by side, THEN (muted) and NOW (accent edge), the NOW figure counting up, with a context line.

Canonical page: https://agentframes.ai/elements/mise/then-now/
Markdown: https://agentframes.ai/elements/mise/then-now.md

## Overview

- Name: Then vs Now (`thenNow`), an element: one HyperFrames block per size
- Part of: the [Mise](https://agentframes.ai/packs/mise.md) pack (27 of 53). Available only through the All-access subscription.
- Category: Stat & chart
- Purpose: Two stat tiles side by side, THEN (muted) and NOW (accent edge), the NOW figure counting up, with a context line.
- Pack: [Mise](https://agentframes.ai/packs/mise.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 none; avoid none
- Typical duration: 5s
- Speaker-safe: yes (can sit beside a speaker)
- Preview video (watermarked): https://agentframes.ai/media/mise/then-now.mp4
- Poster: https://agentframes.ai/media/mise/then-now.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Mise pack. Add a `thenNow` beat to plan.json on a `k` canvas with slots `beforeLabel`, `before`, `afterLabel`, `after`, `note` and `backdrop` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `beforeLabel` | string | beforeLabel | {"type":"string","minLength":0,"maxLength":12} | Takeaway |
| `before` | string | before | {"type":"string","minLength":1,"maxLength":7} | £42 |
| `afterLabel` | string | afterLabel | {"type":"string","minLength":0,"maxLength":12} | Homemade |
| `after` | string | after | {"type":"string","minLength":1,"maxLength":7} | £9 |
| `note` | string | note | {"type":"string","minLength":0,"maxLength":40} | same curry, four portions |
| `backdrop` | string | backdrop | {"type":"string","minLength":0,"maxLength":200} | assets/af-mise/media/speaker-16x9.jpg |

## What your agent can change

**Then vs Now**. Native 1920×1080, 5s at 30fps. Sits over the creator's full-bleed footage (transparent outside its own parts).

Two stat tiles side by side, THEN (muted) and NOW (accent edge), the NOW figure counting up, with a context line.

**Motion.** Boards and pills are set down on the table: up from below, 0.94x, a soft settle (no clip; words are never cut).
**Why it moves.** attention: the change is the story.

### Mount

Copy every manifest file into your project (plus `af-mise-runtime`). Mount with a unique host id, `data-composition-id="af-mise-then-now-16x9"`,
`data-composition-src="compositions/af-mise-then-now-16x9.html"`, `data-duration` and `data-variable-values`. A longer `data-duration` than 5s
extends the hold (the exit moves to the end of the mount). Use the variant whose size matches your project: each is laid out natively, never scaled.

### Content slots

Nested slots are JSON strings. Every slot is checked against `constraints.json` and measured against the layout before anything
draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).

- `beforeLabel`: {"type":"string","minLength":0,"maxLength":12}
- `before` (required): {"type":"string","minLength":1,"maxLength":7}
- `afterLabel`: {"type":"string","minLength":0,"maxLength":12}
- `after` (required): {"type":"string","minLength":1,"maxLength":7}
- `note`: {"type":"string","minLength":0,"maxLength":40}
- `backdrop`: {"type":"string","minLength":0,"maxLength":200}

- `backdrop` paints the table (the tiles and your still on the plate) so the block reads on its own; set it to "" over your own film (the starters do).

### Brand and layout

Brand variables (defaults from `brand.json`): `colourway`, `accent`, `creator`, `handle`, `channel`, `tagline`, `monogram`, `avatar`, `ctaFollow`, `ctaLink`, `ctaCode`. Layout: `exit` (clear or hold).

### Example

```json
{
  "beforeLabel": "Takeaway",
  "before": "£42",
  "afterLabel": "Homemade",
  "after": "£9",
  "note": "same curry, four portions",
  "backdrop": "assets/af-mise/media/speaker-16x9.jpg"
}
```

## FAQ

### What can my AI agent change in Then vs Now?

Your agent fills the `beforeLabel`, `before`, `afterLabel`, `after`, `note` and `backdrop` 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 Mise look.

### Which aspect ratios does Then vs Now support?

Then vs Now is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 5s.

### How do I get Then vs Now?

Then vs Now is included in the Mise pack, which is part of the AgentFrames All-access subscription along with 52 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 Mise

- [Recipe Card](https://agentframes.ai/elements/mise/recipe-card.md): The step beat: the plate is set down and turns a quarter, then the recipe index card deals in from below and settles: the tab (No. 12 · @handle), the recipe name in Shrikhand over the red header rule, the ingredients typed on with checkboxes, each ticking and striking through on the word that names it, the oven timer dial with its arc running, and STEP n OF m.
- [Stat Tile](https://agentframes.ai/elements/mise/stat-tile.md): One big figure on a menu board that counts up and lands exactly, its label in butter and an optional context line.
- [Poll](https://agentframes.ai/elements/mise/poll.md): A poll: the question on a board, two or three options as bars that fill to their share, the winner in butter.
- [Rate It /10](https://agentframes.ai/elements/mise/rate-it.md): A rating panel: what is rated, the score counting up to its value, and ten pips that light up to the score.

## Community

Coming soon.
