# Price Change Flip: Label & callout element for AI agents

> A price reduction: the old price tag is struck through, then flips over to the new price, with a note.

Canonical page: https://agentframes.ai/elements/keytag/price-change/
Markdown: https://agentframes.ai/elements/keytag/price-change.md

## Overview

- Name: Price Change Flip (`priceChange`), an element: one HyperFrames block per size
- Part of: the [Keytag](https://agentframes.ai/packs/keytag.md) pack (6 of 50). Available only through the All-access subscription.
- Category: Label & callout
- Purpose: A price reduction: the old price tag is struck through, then flips over to the new price, with a note.
- Pack: [Keytag](https://agentframes.ai/packs/keytag.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 Pastel plan (`pastel`), Monochrome plan with one accent (`mono`), Night plan (dark ground, glowing rooms) (`night`); avoid none
- Typical duration: 4.5s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/keytag/price-change.mp4
- Poster: https://agentframes.ai/media/keytag/price-change.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Keytag pack. Add a `priceChange` beat to plan.json on a `pastel` canvas with slots `was`, `now`, `note`, `photo` and `focus` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `was` | string | was | {"type":"string","minLength":1,"maxLength":10} | £435,000 |
| `now` | string | now | {"type":"string","minLength":1,"maxLength":10} | £425,000 |
| `note` | string | note | {"type":"string","minLength":0,"maxLength":44} | Plus £5,000 towards your deposit |
| `photo` | string | photo | {"type":"string","minLength":0,"maxLength":200} | assets/af-keytag/media/demo/exterior.jpg |
| `focus` | string | focus | {"type":"string","minLength":0,"maxLength":20} | 50% 50% |

## What your agent can change

**Price Change Flip**. Native 1920×1080, 4.5s at 30fps.

A price reduction: the old price tag is struck through, then flips over to the new price, with a note.

**Motion.** The status tag and the old price swing on; the strike draws (0.25 s); the price tag turns over to the new price; the note rises.
**Why it moves.** change: the strike, then the flip, shows the old price going and the new one arriving.

### Mount

Copy every manifest file into your project (plus `af-keytag-runtime`). Mount with a unique host id, `data-composition-id="af-keytag-price-change-16x9"`,
`data-composition-src="compositions/af-keytag-price-change-16x9.html"`, `data-duration="4.5"` and `data-variable-values`.
Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): 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).

- `was` (required): {"type":"string","minLength":1,"maxLength":10}
- `now` (required): {"type":"string","minLength":1,"maxLength":10}
- `note`: {"type":"string","minLength":0,"maxLength":44}
- `photo`: {"type":"string","minLength":0,"maxLength":200}
- `focus`: {"type":"string","minLength":0,"maxLength":20}

- Prices are typeset exactly as written.
- Text is typeset exactly as written and never shrunk: a slot that does not fit stops the block with a message.

Style: `colourway` (pastel, mono, night), `brandColour` and `accent` (optional hex), `agency`, `footer`, `exit` (lift or cut).

### Timing

4.5s. Everything has landed by 2.7s (60%), then the scene holds still for reading and the graphics lift away over the last 0.4 s, leaving the photo or your footage.

### Example

```json
{
  "was": "£435,000",
  "now": "£425,000",
  "note": "Plus £5,000 towards your deposit",
  "photo": "assets/af-keytag/media/demo/exterior.jpg",
  "focus": "50% 50%"
}
```

## FAQ

### What can my AI agent change in Price Change Flip?

Your agent fills the `was`, `now`, `note`, `photo` and `focus` 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 Keytag look.

### Which aspect ratios does Price Change Flip support?

Price Change Flip is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 4.5s.

### How do I get Price Change Flip?

Price Change Flip is included in the Keytag pack, which is part of the AgentFrames All-access subscription along with 49 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 Keytag

- [Status Tag](https://agentframes.ai/elements/keytag/status-tag.md): The listing status as a key tag: over the hero photo (a slow push), the status tag swings onto its brass ring with the price tag beside it; on a swap the status tag flips over on its axis to show the new status (Just listed → Sold).
- [Just Listed → Reserved Flip](https://agentframes.ai/elements/keytag/reserved-flip.md): The status tag flips over from Just listed to Reserved.
- [Reserved → Sold Flip](https://agentframes.ai/elements/keytag/sold-flip.md): The result: Reserved turns over to Sold.
- [Coming Soon Tag](https://agentframes.ai/elements/keytag/coming-soon.md): A teaser before plots release: the Coming soon tag over the street.

## Community

Coming soon.
