# Versus Table: Diagram element for AI agents

> Two options in a note table: row labels on the left, A and B columns; the grid draws, each row types across, and the pen rings the winning column header with an optional note.

Canonical page: https://agentframes.ai/elements/jotter/versus-table/
Markdown: https://agentframes.ai/elements/jotter/versus-table.md

## Overview

- Name: Versus Table (`versusTable`), an element: one HyperFrames block per size
- Part of: the [Jotter](https://agentframes.ai/packs/jotter.md) pack (15 of 50). Available only through the All-access subscription.
- Category: Diagram
- Purpose: Two options in a note table: row labels on the left, A and B columns; the grid draws, each row types across, and the pen rings the winning column header with an optional note.
- Pack: [Jotter](https://agentframes.ai/packs/jotter.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 Daylight (white note, dusk wallpaper) (`daylight`), Dark mode (graphite note, night wallpaper) (`dark`), Tinted (cream note, sunrise wallpaper) (`tinted`); avoid none
- Typical duration: 11s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/jotter/versus-table.mp4
- Poster: https://agentframes.ai/media/jotter/versus-table.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Jotter pack. Add a `versusTable` beat to plan.json on a `daylight` canvas with slots `title`, `tags`, `a`, `b`, `rows`, `winner`, `note` and `cues` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `title` | string | title | the note title (types on first); up to 2 lines. Markup: **bold**, ==yellow==, ++green++, ~~struck~~, __pen underline__. {"type":"string","minLength":1,"maxLength":44} | Plan only vs plan + review |
| `tags` | string | tags | #tags under the title (the first is the accent tag), e.g. ["step 3 of 5", "productivity"]. JSON string. {"type":"array","items":{"type":"string","minLength":1,"maxLength":16},"minItems":0,"maxItems":3} | [] |
| `a` | string | a | option A. {"type":"string","minLength":1,"maxLength":18} | Plan only |
| `b` | string | b | option B. {"type":"string","minLength":1,"maxLength":18} | Plan + review |
| `rows` | string | rows | the comparison rows. JSON string. {"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":22},"a":{"type":"string","minLength":1,"maxLength":34},"b":{"type":"string","minLength":1,"maxLength":34}},"required":["label","a","b"]},"minItems":2,"maxItems":5} | [{"label":"Time","a":"30 min Monday","b":"15 min Friday"},{"label":"Starts with","a":"The inbox","b":"Your 3 priorities"},{"label":"Feels like","a":"Busy","b":"==Clear=="}] |
| `winner` | enum | winner | {"type":"string","enum":["","a","b"]} | b |
| `note` | string | note | a handwritten pen note (Gochi Hand); "\|" breaks a line. {"type":"string","minLength":0,"maxLength":28} | this one |
| `cues` | string | cues | start time (s, from the scene start) of each item, in order; empty = typed one after another. JSON string. {"type":"array","items":{"type":"number","minimum":0,"maximum":45},"maxItems":8} | [] |

## What your agent can change

**Versus Table**. Native 1920×1080, 11s at 30fps.

Two options in a note table: row labels on the left, A and B columns; the grid draws, each row types across, and the pen rings the winning column header with an optional note.

**Motion.** Grid lines draw; the header types; each row's line draws and its cells type left to right; the winner is ringed.
**Why it moves.** comparison: the same rows for both options make the difference line up.

### Mount

Copy every manifest file into your project (plus `af-jotter-runtime`). Mount with a unique host id, `data-composition-id="af-jotter-versus-table-16x9"`,
`data-composition-src="compositions/af-jotter-versus-table-16x9.html"`, `data-duration` 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 note before anything
draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).

- `title`: the note title (types on first); up to 2 lines. Markup: **bold**, ==yellow==, ++green++, ~~struck~~, __pen underline__. {"type":"string","minLength":1,"maxLength":44}
- `tags`: #tags under the title (the first is the accent tag), e.g. ["step 3 of 5", "productivity"]. {"type":"array","items":{"type":"string","minLength":1,"maxLength":16},"minItems":0,"maxItems":3}
- `a` (required): option A. {"type":"string","minLength":1,"maxLength":18}
- `b` (required): option B. {"type":"string","minLength":1,"maxLength":18}
- `rows` (required): the comparison rows. {"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":22},"a":{"type":"string","minLength":1,"maxLength":34},"b":{"type":"string","minLength":1,"maxLength":34}},"required":["label","a","b"]},"minItems":2,"maxItems":5}
- `winner`: {"type":"string","enum":["","a","b"]}
- `note`: a handwritten pen note (Gochi Hand); "|" breaks a line. {"type":"string","minLength":0,"maxLength":28}
- `cues`: start time (s, from the scene start) of each item, in order; empty = typed one after another. {"type":"array","items":{"type":"number","minimum":0,"maximum":45},"maxItems":8}

- Text slots take **bold**, ==yellow highlighter==, ++green highlighter++, ~~struck~~ and __pen underline__; marks land after their words are typed.

Style: `colourway` (daylight, dark, tinted), `accent` (optional hex for ticks, tags and the pen), `app` (menu-bar name), `series` (16:9 folder), `stamp` (the date line), `clock`, `intro` (none or open), `exit` (clear or cut), `duration` (seconds).

### Syncing to the narration

Typing runs at a readable pace and speeds up (up to 2.2×) if a scene would otherwise land late. Lists take `cues` (where
offered): the second, from the scene start, at which each item should start typing, taken from your transcript. Raise
`duration` (and the mount's `data-duration`) to fit long narration: everything lands by 60% of the scene, which leaves the rest as a
readable hold while the caret blinks.

### Timing

11s by default. The note starts empty and its content types on from about 0.3 s; reveals land by 60%; with `exit: clear` the content lifts away over the last 0.45 s, leaving the empty note for the next scene.

### Example

```json
{
  "title": "Plan only vs plan + review",
  "tags": "[]",
  "a": "Plan only",
  "b": "Plan + review",
  "rows": "[{\"label\":\"Time\",\"a\":\"30 min Monday\",\"b\":\"15 min Friday\"},{\"label\":\"Starts with\",\"a\":\"The inbox\",\"b\":\"Your 3 priorities\"},{\"label\":\"Feels like\",\"a\":\"Busy\",\"b\":\"==Clear==\"}]",
  "winner": "b",
  "note": "this one",
  "cues": "[]"
}
```

## FAQ

### What can my AI agent change in Versus Table?

Your agent fills the `title`, `tags`, `a`, `b`, `rows`, `winner`, `note` and `cues` 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 Jotter look.

### Which aspect ratios does Versus Table support?

Versus Table is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 11s.

### How do I get Versus Table?

Versus Table is included in the Jotter 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 Jotter

- [Takeaway Box](https://agentframes.ai/elements/jotter/takeaway-box.md): The TL;DR: a heading, one to three bullet takeaways, then the pen boxes the whole thing and a pin drops on the corner.
- [Checklist Steps](https://agentframes.ai/elements/jotter/checklist-steps.md): Signature device. Steps as a checklist: each item types beside an empty circle, finished steps tick (the circle fills and checks) and the line strikes through grey, and the current step gets a green highlighter with an optional pen note pointing at it.
- [Timeline List](https://agentframes.ai/elements/jotter/timeline-list.md): Dated entries down the page: an accent date on the left, a dot, and the event typed beside it, with the pen joining the dots as each one arrives.
- [Cycle Sketch](https://agentframes.ai/elements/jotter/cycle-sketch.md): A loop drawn by hand: 3-5 steps sit around a circle in white chips with a word in the middle, and the pen draws an arrow from each step to the next.

## Community

Coming soon.
