33 of 50 in the Contour pack

Book the Dates (scale bar): Section title element for AI agents

The closing beat: the headline and price, the free dates as a map scale bar (each segment a date range; free ones fill in the route colour, booked ones stay plain) with the route dots walking along it, then the two-part cover-block button is pressed, with the contact line under it..

  • 1:1native
  • 16:9native
  • 9:16native
  • 4:5native

Watermarked preview. The Contour pack includes all 50 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Contour pack. Add a `bookDates` beat to plan.json on a `explorer` canvas with slots `kicker`, `headline`, `price`, `dates`, `action` and `contact` from my script. Then run validate → build → qa and show me qa/contact.jpg.

Variables

The slots your agent fills from your script, through plan.json.

SlotTypeWhat it holdsExample
kickerstringkicker: {"type":"string","minLength":0,"maxLength":18}.Book direct
headlinestringheadline: {"type":"string","minLength":1,"maxLength":34}.Walk out of the door *this June*
pricestringprice: {"type":"string","minLength":0,"maxLength":40}.from *£165* a night · 3 nights min
datesstringdates: JSON string. {"type":"array","minItems":0,"maxItems":5,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":10},"state":{"type":"string","enum":["free","booked"]},"note":{"type":"string","minLength":0,"maxLength":10}},"required":["label"]}}.[{"label":"6–9 Jun","state":"free"},{"label":"13–16 Jun","state":"booked"},{"label":"20–23 Jun","state":"free"},{"label":"27–30 Jun","state":"free","note":"last one"}]
actionstringaction: {"type":"string","minLength":1,"maxLength":16}.Book direct
contactstringcontact: {"type":"string","minLength":0,"maxLength":34}.fellside.example

What your agent can change

Book the Dates (scale bar). Native 1920×1080, 5.5s at 30fps.

The closing beat: the headline and price, the free dates as a map scale bar (each segment a date range; free ones fill in the route colour, booked ones stay plain) with the route dots walking along it, then the two-part cover-block button is pressed, with the contact line under it.

Motion. Title block in; the segments draw left to right with their labels; the route dots walk the bar; the button rises and is pressed once (96.5%). Why it moves. attention: the scale bar reads as distance and time at once, and the walk ends on the button.

Mount

Copy every manifest file into your project (plus af-contour-runtime). Mount with a unique host id, data-composition-id="af-contour-book-dates-16x9", data-composition-src="compositions/af-contour-book-dates-16x9.html", data-duration="5.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).

  • kicker: {"type":"string","minLength":0,"maxLength":18}
  • headline (required): {"type":"string","minLength":1,"maxLength":34}
  • price: {"type":"string","minLength":0,"maxLength":40}
  • dates: {"type":"array","minItems":0,"maxItems":5,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":10},"state":{"type":"string","enum":["free","booked"]},"note":{"type":"string","minLength":0,"maxLength":10}},"required":["label"]}}
  • action (required): {"type":"string","minLength":1,"maxLength":16}
  • contact: {"type":"string","minLength":0,"maxLength":34}
  • price takes *word* for the route colour. Each date: label (10 characters), state free or booked, optional note over a free one (default FREE).
  • Text is typeset exactly as written and never shrunk: a slot that does not fit stops the block with a message.

Style: colourway (explorer, coast, winter), brandColour and accent (optional hex), agency, footer, exit (lift or cut).

Timing

5.5s. Everything has landed by 3.3s (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 { "kicker": "Book direct", "headline": "Walk out of the door *this June*", "price": "from *£165* a night · 3 nights min", "dates": "[{\"label\":\"6–9 Jun\",\"state\":\"free\"},{\"label\":\"13–16 Jun\",\"state\":\"booked\"},{\"label\":\"20–23 Jun\",\"state\":\"free\"},{\"label\":\"27–30 Jun\",\"state\":\"free\",\"note\":\"last one\"}]", "action": "Book direct", "contact": "fellside.example" } ``

FAQ

What can my AI agent change in Book the Dates (scale bar)?

Your agent fills the kicker, headline, price, dates, action and contact 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 Contour look.

Which aspect ratios does Book the Dates (scale bar) support?

Book the Dates (scale bar) is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 5.5s.

How do I get Book the Dates (scale bar)?

Book the Dates (scale bar) is included in the Contour 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.

This is 1 of 50

Get the full Contour pack

Book the Dates (scale bar) comes as part of Contour: 50 elements, 4 starter videos and every size (16:9, 9:16, 4:5, 1:1), re-brandable to your colours in one file. Included in All-access with every other pack.

See the whole pack →

Wide (16:9) · 39s · made entirely with this pack

More in Contour

See all 50 elements in Contour →