# Band: Streak Calendar: Stat & chart element for AI agents

> Consistency over time: a calendar of 7-28 days; the done days tick off one after another while the streak counts up.

Canonical page: https://agentframes.ai/elements/strata/calendar/
Markdown: https://agentframes.ai/elements/strata/calendar.md

## Overview

- Name: Band: Streak Calendar (`calendar`), an element: one HyperFrames block per size
- Part of: the [Strata](https://agentframes.ai/packs/strata.md) pack (31 of 50). Available only through the All-access subscription.
- Category: Stat & chart
- Purpose: Consistency over time: a calendar of 7-28 days; the done days tick off one after another while the streak counts up.
- Pack: [Strata](https://agentframes.ai/packs/strata.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 Candy (cream page, five candy bands) (`candy`), Seaside (sand page, apricot to coral) (`seaside`), Night (midnight page, neon bands) (`night`); avoid none
- Typical duration: 7s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/strata/calendar.mp4
- Poster: https://agentframes.ai/media/strata/calendar.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Strata pack. Add a `calendar` beat to plan.json on a `candy` canvas with slots `number`, `title`, `body`, `colour`, `prevColour`, `side`, `days`, `done` and `caption` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `number` | number | number | {"type":"integer","minimum":1,"maximum":9} | 4 |
| `title` | string | title | {"type":"string","minLength":1,"maxLength":28} | Don’t break\|the chain |
| `body` | string | body | {"type":"string","minLength":0,"maxLength":80} |  |
| `colour` | enum | colour | {"type":"string","enum":["auto","peach","green","periwinkle","blue","pink","b1","b2","b3","b4","b5"]} | blue |
| `prevColour` | enum | prevColour | {"type":"string","enum":["auto","cream","peach","green","periwinkle","blue","pink","navy","gold","b1","b2","b3","b4","b5","page"]} | periwinkle |
| `side` | enum | side | {"type":"string","enum":["auto","left","right"]} |  |
| `days` | number | days | {"type":"integer","enum":[7,14,21,28]} | 21 |
| `done` | number | done | {"type":"integer","minimum":0,"maximum":28} | 16 |
| `caption` | string | caption | {"type":"string","minLength":0,"maxLength":30} | days in a row |

## What your agent can change

**Band: Streak Calendar** (band device). Native 1920×1080, 7s at 30fps.

Consistency over time: a calendar of 7-28 days; the done days tick off one after another while the streak counts up.

**Motion.** Day tiles pop in as a wave; ticks fill day by day; the streak number counts; the caption fades in.
**Why it moves.** change: the ticks accumulate, which is the point of a streak.

### Mount

Copy every manifest file path → target into your project (plus `af-strata-runtime`). Mount with a unique host id, `data-composition-id="af-strata-calendar-16x9"`,
`data-composition-src="compositions/af-strata-calendar-16x9.html"`, `data-duration="7"` and native `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 inside `data-variable-values`. 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). Use "|" in a title to choose line breaks. Band colours: peach, green, periwinkle, blue, pink (aliases b1-b5);
in the seaside and night colourways the same names give that colourway's bands 1-5.

- `number`: whole number. {"type":"integer","minimum":1,"maximum":9}
- `title` (required): string. {"type":"string","minLength":1,"maxLength":28}
- `body`: string. {"type":"string","minLength":0,"maxLength":80}
- `colour`: string. {"type":"string","enum":["auto","peach","green","periwinkle","blue","pink","b1","b2","b3","b4","b5"]}
- `prevColour`: string. {"type":"string","enum":["auto","cream","peach","green","periwinkle","blue","pink","navy","gold","b1","b2","b3","b4","b5","page"]}
- `side`: string. {"type":"string","enum":["auto","left","right"]}
- `days` (required): whole number. {"type":"integer","enum":[7,14,21,28]}
- `done` (required): whole number. {"type":"integer","minimum":0,"maximum":28}
- `caption`: string. {"type":"string","minLength":0,"maxLength":30}

- `title` is the band headline (max 2 lines; "|" chooses the break). `body` is optional (one short line under the headline in 16:9, at the foot of the band in the other sizes); leave it empty to give the device more room.
- `number` defaults to sceneIndex + 1. `colour`: auto follows sceneIndex (band 1 = peach, 2 = green ...); `prevColour`: auto is the previous band (the page for the first). Set both explicitly if your film has other scenes between bands.

Style (role "style", defaults from brand.json): `colourway` (candy | seaside | night), `headingFont` (Montserrat | Archivo), `brandName`, `footer`, `sceneIndex` (zero-based band position) and `sceneTotal` (bands in the video; drives the progress strip).

### Timing

7s. Everything has landed by 4.2 s (60%), then the scene holds for reading and lifts out over the last 0.42 s.


### Example

```json
{
  "number": 4,
  "title": "Don’t break|the chain",
  "body": "",
  "colour": "blue",
  "prevColour": "periwinkle",
  "days": 21,
  "done": 16,
  "caption": "days in a row"
}
```

## FAQ

### What can my AI agent change in Band: Streak Calendar?

Your agent fills the `number`, `title`, `body`, `colour`, `prevColour`, `side`, `days`, `done` and `caption` 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 Strata look.

### Which aspect ratios does Band: Streak Calendar support?

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

### How do I get Band: Streak Calendar?

Band: Streak Calendar is included in the Strata 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 Strata

- [Band: Big Stat on a Plinth](https://agentframes.ai/elements/strata/stat.md): A numbered band whose point is a number: it counts up on a chunky plinth and a caption card explains it.
- [Band: Isometric Donut %](https://agentframes.ai/elements/strata/donut.md): A share of a whole: an isometric ring fills to the percentage while the centre counts up; the caption sits underneath.
- [Band: Chunky Bar Chart](https://agentframes.ai/elements/strata/bars.md): Two to five values compared: extruded bars in the other band colours grow on their cues, each value counting up on top.
- [Band: Five-Band Gauge](https://agentframes.ai/elements/strata/meter.md): Where something sits on a range: a five-colour gauge draws and the needle swings to the value and settles.

## Community

Coming soon.
