# Packages: Stat & chart element for AI agents

> 2-3 package cards (name, price, per, features); the featured one lifts with a swiped badge.

Canonical page: https://agentframes.ai/elements/bright/pricing-tiers/
Markdown: https://agentframes.ai/elements/bright/pricing-tiers.md

## Overview

- Name: Packages (`pricingTiers`), an element: one HyperFrames block per size
- Part of: the [Bright](https://agentframes.ai/packs/bright.md) pack (21 of 47). Available only through the All-access subscription.
- Category: Stat & chart
- Purpose: 2-3 package cards (name, price, per, features); the featured one lifts with a swiped badge.
- Pack: [Bright](https://agentframes.ai/packs/bright.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 Cream (`cream`), Blush (`blush`), Night (`night`); avoid none
- Typical duration: 7s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/bright/pricing-tiers.mp4
- Poster: https://agentframes.ai/media/bright/pricing-tiers.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Bright pack. Add a `pricingTiers` beat to plan.json on a `cream` canvas with slots `line`, `tiers`, `featured` and `badge` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `line` | string | line | {"type":"string","minLength":1,"maxLength":32,"pattern":"^[^\\n]*(\\n[^\\n]*){0,1}$"} | Pick your *reset |
| `tiers` | string | tiers | {"type":"array","minItems":2,"maxItems":3,"items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":16},"price":{"type":"string","minLength":1,"maxLength":8},"per":{"type":"string","minLength":0,"maxLength":12},"features":{"type":"array","minItems":2,"maxItems":4,"items":{"type":"string","minLength":1,"maxLength":28}}},"required":["name","price","per","features"]}} | [{"name":"One room","price":"£180","per":"/ room","features":["Up to 4 hours","Labels included","Donation drop"]},{"name":"Kitchen","price":"£320","per":"/ day","features":["Full day, 2 people","Jars and labels","Fridge and pantry"]},{"name":"Whole home","price":"£690","per":"/ day","features":["Two organisers","Every room","30-day check-in"]}] |
| `featured` | number | featured | {"type":"integer","minimum":0,"maximum":3} | 2 |
| `badge` | string | badge | {"type":"string","minLength":0,"maxLength":14} | Most booked |

## What your agent can change

Packages · role: Packages. 2-3 package cards (name, price, per, features); the featured one lifts with a swiped badge.

Native 1920×1080, 7s at 30 fps. Service Ads (content type `service`). Use the matching aspect variant; never stretch another size.

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

### Slots (content)
- `line`: {"type":"string","minLength":1,"maxLength":32,"pattern":"^[^\\n]*(\\n[^\\n]*){0,1}$"}
- `tiers`: JSON string; {"type":"array","minItems":2,"maxItems":3,"items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":16},"price":{"type":"string","minLength":1,"maxLength":8},"per":{"type":"string","minLength":0,"maxLength":12},"features":{"type":"array","minItems":2,"maxItems":4,"items":{"type":"string","minLength":1,"maxLength":28}}},"required":["name","price","per","features"]}}
- `featured`: {"type":"integer","minimum":0,"maximum":3}
- `badge`: {"type":"string","minLength":0,"maxLength":14}

Headline syntax (caps slots such as `headline`, `line`, `tagline`, `name`): `\n` breaks a line; a line that starts with `*`, `_` or `~` sits on a primary, secondary or tertiary highlighter swipe. Scrawl notes (`note`, `eyebrow`, `deadline`) accept `\n` too. In `quote`, `*phrase*` gets the highlighter.

Images (`format: image`) are paths inside the project (`assets/people/me.png`) or inline base64. Portraits (`photo`) must be **cut-outs**: transparent PNG of the person from the waist or chest up, trimmed, at least 1200 px tall. Job photos (`before`, `after`) are JPG/WebP, at least 1200 px on the short side, shot from the same angle; they are cropped to fill. Client avatars are square. A missing file stops the block with "image not found: <path>".

### Style
`brandName` (1-24, the typeset name), `logo` (empty = typeset name, or an image path / base64), `primary` / `secondary` / `tertiary` (#RRGGBB highlighter colours), `canvas` (cream | blush | night). Text on a swipe picks white or near-black automatically for contrast.

### Limits and errors
Out-of-range input stops the block with a message on `data-bright-error` and in the console (for example "items has 5 items; supported: 3-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 4.2s; 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 Packages?

Your agent fills the `line`, `tiers`, `featured` and `badge` 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 Bright look.

### Which aspect ratios does Packages support?

Packages is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 7s.

### How do I get Packages?

Packages is included in the Bright pack, which is part of the AgentFrames All-access subscription along with 46 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 Bright

- [Price menu](https://agentframes.ai/elements/bright/price-menu.md): 2-5 services with prices on ruled lines. The most-booked one gets a highlighter swipe and a scrawled note with a heart.
- [Offer sticker](https://agentframes.ai/elements/bright/offer.md): A scalloped sticker seal slaps on with your deal and an optional code strap; a scrawled deadline points at it.
- [Rating seal](https://agentframes.ai/elements/bright/rating-badge.md): Your score counts up inside a scalloped seal, the stars fill and a source strap lands.
- [Three numbers](https://agentframes.ai/elements/bright/stat-trio.md): Three numbers count up, each on its own highlighter swipe, with a label.

## Community

Coming soon.
