# Calendar fill: Diagram element for AI agents

> A week grid (5-7 days × 3-6 times) in a product card; 1-12 booked slots pop in one by one and the counter in the header keeps count.

Canonical page: https://agentframes.ai/elements/glide/calendar-fill/
Markdown: https://agentframes.ai/elements/glide/calendar-fill.md

## Overview

- Name: Calendar fill (`calendarFill`), an element: one HyperFrames block per size
- Part of: the [Glide](https://agentframes.ai/packs/glide.md) pack (22 of 50). Available only through the All-access subscription.
- Category: Diagram
- Purpose: A week grid (5-7 days × 3-6 times) in a product card; 1-12 booked slots pop in one by one and the counter in the header keeps count.
- Pack: [Glide](https://agentframes.ai/packs/glide.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 Day · Apricot (`apricot-day`), Dusk · Apricot (`apricot-dusk`), Day · Lagoon (`lagoon-day`), Dusk · Lagoon (`lagoon-dusk`), Day · Iris (`iris-day`), Dusk · Iris (`iris-dusk`); avoid none
- Typical duration: 6s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/glide/calendar-fill.mp4
- Poster: https://agentframes.ai/media/glide/calendar-fill.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Glide pack. Add a `calendarFill` beat to plan.json on a `apricot-day` canvas with slots `eyebrow`, `title`, `label`, `unit`, `days`, `hours` and `booked` 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":28} | Calendar |
| `title` | string | title | {"type":"string","minLength":1,"maxLength":36} | Your week *fills itself*. |
| `label` | string | label | {"type":"string","minLength":1,"maxLength":20} | This week |
| `unit` | string | unit | {"type":"string","minLength":1,"maxLength":10} | booked |
| `days` | string | days | {"type":"array","minItems":5,"maxItems":7,"items":{"type":"string","minLength":1,"maxLength":3}} | ["Mon","Tue","Wed","Thu","Fri"] |
| `hours` | string | hours | {"type":"array","minItems":3,"maxItems":6,"items":{"type":"string","minLength":1,"maxLength":5}} | ["09:00","11:00","14:00","16:00"] |
| `booked` | string | booked | {"type":"array","minItems":1,"maxItems":12,"items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"hour":{"type":"integer","minimum":0,"maximum":5},"label":{"type":"string","minLength":1,"maxLength":10}},"required":["day","hour","label"]}} | [{"day":0,"hour":0,"label":"Maya"},{"day":1,"hour":2,"label":"Tom"},{"day":2,"hour":0,"label":"Ines"},{"day":2,"hour":3,"label":"Raj"},{"day":3,"hour":1,"label":"Lena"},{"day":4,"hour":0,"label":"Kofi"},{"day":4,"hour":2,"label":"Sam"},{"day":0,"hour":3,"label":"Ana"}] |

## What your agent can change

Calendar fill · pilot role: Scheduling UI. A week grid (5-7 days × 3-6 times) in a product card; 1-12 booked slots pop in one by one and the counter in the header keeps count.

Why it moves: change: the week grid fills slot by slot while the booked counter keeps up, so the calendar visibly fills itself

Native 1920×1080, 6s at 30 fps. Graphics only (no footage). Use the matching aspect variant; never stretch another size.

### Mount
Copy every manifest file path→target, plus `af-glide-runtime`. Mount with a unique host id, `data-composition-id="af-glide-calendar-fill-16x9"`, `data-composition-src="compositions/af-glide-calendar-fill-16x9.html"` and `data-variable-values` (JSON object). The starter projects already contain everything.

### Slots (content)
- `eyebrow`: {"type":"string","minLength":0,"maxLength":28}
- `title`: {"type":"string","minLength":1,"maxLength":36}
- `label`: {"type":"string","minLength":1,"maxLength":20}
- `unit`: {"type":"string","minLength":1,"maxLength":10}
- `days`: JSON string; {"type":"array","minItems":5,"maxItems":7,"items":{"type":"string","minLength":1,"maxLength":3}}
- `hours`: JSON string; {"type":"array","minItems":3,"maxItems":6,"items":{"type":"string","minLength":1,"maxLength":5}}
- `booked`: JSON string; {"type":"array","minItems":1,"maxItems":12,"items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"hour":{"type":"integer","minimum":0,"maximum":5},"label":{"type":"string","minLength":1,"maxLength":10}},"required":["day","hour","label"]}}

Nested slots are JSON strings inside `data-variable-values`. A `panel` is a ui.json block: `{"type":"list","title":"...","rows":[{"title","meta","badge","icon"}]}`, or `{"type":"shot","src":"data:image/png;base64,..."}` for a screenshot (where the slot allows it).

### Style
`brandName` (1-24), `logo` (empty → monogram app icon, or an inline base64 image), `look` (day | dusk), `colourway` (apricot | lagoon | iris), `accent` (empty or #RRGGBB, overrides the colourway accent), `timeOffset` (seconds of film time at this scene; keeps the drifting background continuous across cuts).

Headline syntax: `\n` breaks a line. `*word*` is the key word (accent colour).

### Limits and errors
Out-of-range input stops the block with a message on `data-glide-error` and in the console (for example "steps has 5 items; supported: 2-4"). Copy that is within the character limits but still too wide or tall for this size is also refused ("does not fit the 16x9 layout"), never shrunk. Everything has landed by 3.6s; 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 Calendar fill?

Your agent fills the `eyebrow`, `title`, `label`, `unit`, `days`, `hours` and `booked` 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 Glide look.

### Which aspect ratios does Calendar fill support?

Calendar fill is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 6s.

### How do I get Calendar fill?

Calendar fill is included in the Glide 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 Glide

- [Fly-over steps](https://agentframes.ai/elements/glide/fly-over.md): 2-4 step cards along a curved route; the comet flies it and lights each stop. Horizontal wave in 16:9, a vertical zig-zag in 9:16, 4:5 and 1:1.
- [Comet loop](https://agentframes.ai/elements/glide/comet-loop.md): 3-5 stages on a dashed ring with arrowheads; the comet laps once and each stage lights as it is reached.
- [Built-for orbit](https://agentframes.ai/elements/glide/built-for.md): A centre pill on two dashed orbits; 3-8 audience nodes swing round into place with labels; the comet passes once.
- [Price pick](https://agentframes.ai/elements/glide/price-pick.md): 2-3 plan cards; the cursor clicks the picked plan, the other plans dim and its button turns into a ring loader and then a success tick.

## Community

Coming soon.
