# Product hero + price tag: Section title element for AI agents

> One product drops onto a brand-colour block; the name builds, the note rises and a price tag swings in with weight.

Canonical page: https://agentframes.ai/elements/cutout/product-hero/
Markdown: https://agentframes.ai/elements/cutout/product-hero.md

## Overview

- Name: Product hero + price tag (`productHero`), an element: one HyperFrames block per size
- Part of: the [Cutout](https://agentframes.ai/packs/cutout.md) pack (5 of 50). Available only through the All-access subscription.
- Category: Section title
- Purpose: One product drops onto a brand-colour block; the name builds, the note rises and a price tag swings in with weight.
- Pack: [Cutout](https://agentframes.ai/packs/cutout.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 Stone (`stone`), Blush (`blush`), Night (`night`); avoid none
- Typical duration: 4.5s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/cutout/product-hero.mp4
- Poster: https://agentframes.ai/media/cutout/product-hero.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Cutout pack. Add a `productHero` beat to plan.json on a `stone` canvas with slots `eyebrow`, `name`, `note`, `price`, `badge` and `image` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `eyebrow` | string | eyebrow | {"type":"string","minLength":0,"maxLength":20} | New in |
| `name` | string | name | {"type":"string","minLength":1,"maxLength":22} | Glow Serum |
| `note` | string | note | {"type":"string","minLength":0,"maxLength":40} | Vitamin C + peach enzyme |
| `price` | string | price | {"type":"string","minLength":1,"maxLength":10} | £24 |
| `badge` | string | badge | {"type":"string","minLength":0,"maxLength":14} | Bestseller |
| `image` | string | image | {"type":"string","format":"image","minLength":8,"maxLength":6000000} | assets/af-cutout/media/fawn/cut-serum.webp |

## What your agent can change

Product hero + price tag · role: Product hero. One product drops onto a brand-colour block; the name builds, the note rises and a price tag swings in with weight.

Native 1920×1080, 4.5s at 30 fps. Product Ads (content type `menu-product`). Use the matching aspect variant; never stretch another size.

### Mount
Copy every manifest file path→target, plus `af-cutout-runtime`. Mount with a unique host id, `data-composition-id="af-cutout-product-hero-16x9"`, `data-composition-src="compositions/af-cutout-product-hero-16x9.html"` and `data-variable-values` (JSON object). The starter projects already contain everything; there, edit brand.json and products.json and run `npm run brand`.

### Slots (content)
- `eyebrow`: {"type":"string","minLength":0,"maxLength":20}
- `name`: {"type":"string","minLength":1,"maxLength":22}
- `note`: {"type":"string","minLength":0,"maxLength":40}
- `price`: {"type":"string","minLength":1,"maxLength":10}
- `badge`: {"type":"string","minLength":0,"maxLength":14}
- `image`: {"type":"string","format":"image","minLength":8,"maxLength":6000000}

Images (`format: image`) are paths inside the project (`assets/products/serum.png`) or inline base64. Product images must be **cut-outs**: transparent PNG or WebP, the product only, trimmed, at least 900 px tall. Photos are JPG/WebP, at least 1200 px on the short side; they are cropped to fill (object-fit: cover). A missing file stops the block with "image not found: <path>".

### Style
`brandName` (1-16, the typeset wordmark), `wordmarkFont` (unbounded | fraunces | geist), `logo` (empty = typeset wordmark, or an image path / base64; used for the wordmark and the composer avatar), `primary` / `secondary` / `tint` (#RRGGBB), `canvas` (stone | blush | night). Text on brand colours picks white or near-black automatically for contrast; a primary too close to the canvas is replaced by ink for the wordmark.

Headline syntax (`line`, `tagline`): `\n` breaks a line, `*word*` takes the brand primary.

### Limits and errors
Out-of-range input stops the block with a message on `data-cutout-error` and in the console (for example "variants has 5 items; supported: 2-4"). Copy that is within the character limits but still too wide for this size is refused ("does not fit the 16x9 layout"), never shrunk. The build has landed by 2.7s; the last 0.4 s is the outro.

Source: editable HTML + local GSAP and fonts. Deterministic (no randomness, no clock). See the pack LICENCE.md and NOTICE.

## FAQ

### What can my AI agent change in Product hero + price tag?

Your agent fills the `eyebrow`, `name`, `note`, `price`, `badge` and `image` 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 Cutout look.

### Which aspect ratios does Product hero + price tag support?

Product hero + price tag is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 4.5s.

### How do I get Product hero + price tag?

Product hero + price tag is included in the Cutout 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 Cutout

- [Storefront reveal](https://agentframes.ai/elements/cutout/storefront.md): Your shop in a rounded browser card: the announcement bar, nav, a hero photo and a giant wordmark that builds letter by letter.
- [New arrival](https://agentframes.ai/elements/cutout/new-arrival.md): A starburst sticker stamps on; the product rises out of a slot in a brand-colour block; the name and price follow.
- [Split reveal](https://agentframes.ai/elements/cutout/split-reveal.md): The frame splits on a centre seam, the halves slide apart and the product rises between them with its name.
- [Unbox](https://agentframes.ai/elements/cutout/unbox.md): A brand box: the lid lifts and tips away, the product rises out and the name lands.

## Community

Coming soon.
