# The Date Finder: Label & callout element for AI agents

> A run of ticket stubs, one per date, each with its availability light (green free, red taken).

Canonical page: https://agentframes.ai/elements/festoon/date-finder/
Markdown: https://agentframes.ai/elements/festoon/date-finder.md

## Overview

- Name: The Date Finder (`dateFinder`), an element: one HyperFrames block per size
- Part of: the [Festoon](https://agentframes.ai/packs/festoon.md) pack (6 of 50). Available only through the All-access subscription.
- Category: Label & callout
- Purpose: A run of ticket stubs, one per date, each with its availability light (green free, red taken).
- Pack: [Festoon](https://agentframes.ai/packs/festoon.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 Barn (oxblood and bulb gold) (`barn`), Garden party (sage and blush bulbs) (`garden`), Midnight (navy and white bulbs) (`midnight`); avoid none
- Typical duration: 4.5s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/festoon/date-finder.mp4
- Poster: https://agentframes.ai/media/festoon/date-finder.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Festoon pack. Add a `dateFinder` beat to plan.json on a `barn` canvas with slots `title`, `dates`, `photo` and `focus` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `title` | string | title | {"type":"string","minLength":1,"maxLength":26} | Saturdays *in June* |
| `dates` | string | dates | JSON string. {"type":"array","minItems":1,"maxItems":4,"items":{"type":"object","properties":{"date":{"type":"string","minLength":1,"maxLength":12},"day":{"type":"string","minLength":0,"maxLength":4},"label":{"type":"string","minLength":0,"maxLength":14},"state":{"type":"string","enum":["free","taken"]}},"required":["date"]}} | [{"date":"7 JUN","day":"SAT","label":"Free","state":"free"},{"date":"14 JUN","day":"SAT","state":"taken"},{"date":"21 JUN","day":"SAT","label":"Free","state":"free"},{"date":"28 JUN","day":"SAT","label":"Last one","state":"free"}] |
| `photo` | string | photo | {"type":"string","minLength":0,"maxLength":200} | assets/af-festoon/media/demo/longbarn-dusk.jpg |
| `focus` | string | focus | {"type":"string","minLength":0,"maxLength":20} | 50% 50% |

## What your agent can change

**The Date Finder**. Native 1920×1080, 4.5s at 30fps.

A run of ticket stubs, one per date, each with its availability light (green free, red taken).

**Motion.** The festoon lights; the title rises; the stubs slide in 0.18 s apart and their lights catch.
**Why it moves.** attention: which dates are still free.

### Mount

Copy every manifest file into your project (plus `af-festoon-runtime`). Mount with a unique host id, `data-composition-id="af-festoon-date-finder-16x9"`,
`data-composition-src="compositions/af-festoon-date-finder-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).

- `title` (required): {"type":"string","minLength":1,"maxLength":26}
- `dates` (required): {"type":"array","minItems":1,"maxItems":4,"items":{"type":"object","properties":{"date":{"type":"string","minLength":1,"maxLength":12},"day":{"type":"string","minLength":0,"maxLength":4},"label":{"type":"string","minLength":0,"maxLength":14},"state":{"type":"string","enum":["free","taken"]}},"required":["date"]}}
- `photo` (required): {"type":"string","minLength":0,"maxLength":200}
- `focus`: {"type":"string","minLength":0,"maxLength":20}

- `title` is set in Big Shoulders caps; `*word*` takes the bulb colour.
- Text is typeset exactly as written and never shrunk: a slot that does not fit stops the block with a message.

Style: `colourway` (barn, garden, midnight), `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
{
  "title": "Saturdays *in June*",
  "dates": "[{\"date\":\"7 JUN\",\"day\":\"SAT\",\"label\":\"Free\",\"state\":\"free\"},{\"date\":\"14 JUN\",\"day\":\"SAT\",\"state\":\"taken\"},{\"date\":\"21 JUN\",\"day\":\"SAT\",\"label\":\"Free\",\"state\":\"free\"},{\"date\":\"28 JUN\",\"day\":\"SAT\",\"label\":\"Last one\",\"state\":\"free\"}]",
  "photo": "assets/af-festoon/media/demo/longbarn-dusk.jpg",
  "focus": "50% 50%"
}
```

## FAQ

### What can my AI agent change in The Date Finder?

Your agent fills the `title`, `dates`, `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 Festoon look.

### Which aspect ratios does The Date Finder support?

The Date Finder is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 4.5s.

### How do I get The Date Finder?

The Date Finder is included in the Festoon 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 Festoon

- [Status Sign](https://agentframes.ai/elements/festoon/status-sign.md): The status as a marquee sign over the space: the festoon string lights, the status lights up in bulb letters in a chase (venue wording: Now booking, Last few dates, Date taken …) and the ticket stub deals in with its availability light. On a swap the first sign dims and the new status chases on under it, and the light turns red.
- [Last Few Dates → Fully Booked](https://agentframes.ai/elements/festoon/fully-booked.md): The bulbs switch off right to left and "Fully booked" chases on in their place, with the ticket stub.
- [Now Booking Sign](https://agentframes.ai/elements/festoon/now-booking.md): "Now booking" in bulb letters with the season on a ticket stub.
- [Open Evening Sign](https://agentframes.ai/elements/festoon/open-evening.md): "Open evening" in bulb letters with the date on a stub.

## Community

Coming soon.
