# Versus: Stat & chart element for AI agents

> Compare two values head to head (before vs after, us vs them); the winner card turns clay

Canonical page: https://agentframes.ai/elements/clay-ink/versus/
Markdown: https://agentframes.ai/elements/clay-ink/versus.md

## Overview

- Name: Versus (`versus`), an element: one HyperFrames block per size
- Part of: the [Clay & Ink](https://agentframes.ai/packs/clay-ink.md) pack (38 of 48). Available only through the All-access subscription.
- Category: Stat & chart
- Purpose: Compare two values head to head (before vs after, us vs them); the winner card turns clay
- Pack: [Clay & Ink](https://agentframes.ai/packs/clay-ink.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 (stage-fit), 4:5 (stage-fit), 1:1 (stage-fit)
- Canvases: works on ivory paper (`w`), warm ink (`k`), clay (`o`); avoid none
- Typical duration: 3.8s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/clay-ink/versus.mp4
- Poster: https://agentframes.ai/media/clay-ink/versus.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Clay & Ink pack. Add a `versus` beat to plan.json on a `w` canvas with slots `title`, `left`, `right` and `winner` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `title` | string | Title | Plain text. Wrap the ONE accent word in *stars*. | Time to a *first draft* |
| `left` | json | Left | JSON; keep the same shape as the default. | ["Writing it by hand","4.5 hrs"] |
| `right` | json | Right | JSON; keep the same shape as the default. | ["With Claude","12 min"] |
| `winner` | string | Winner | Plain text. | right |

## What your agent can change

### Surface

Compare two values head to head (before vs after, us vs them); the winner card turns clay. Set: `data`. Category: `stat`. Canvases: ok `w, k, o`. Typical 3.8s; settles at 2.6s.

### Editable (fill through plan.json `slots`)

- `title` (string) **EXAMPLE DATA: replace or get client sign-off**. Plain text. Wrap the ONE accent word in *stars*.
- `left` (json) **EXAMPLE DATA: replace or get client sign-off**. JSON; keep the same shape as the default.
- `right` (json) **EXAMPLE DATA: replace or get client sign-off**. JSON; keep the same shape as the default.
- `winner` (string) **EXAMPLE DATA: replace or get client sign-off**. Plain text.

### Protected

Do not change the motion, easing, timing, the palette roles (colours come from frame.md → tokens.css), fonts, or the element's internal layout. Keep copy close to the default length (±30%) so it fits.

### Safe editing

Set values in the beat's `slots` in plan.json, run `tools/validate.mjs`, rebuild, and check `qa/contact.jpg`. Never hand-edit the generated index.html or this element's code for a single video.

## FAQ

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

Your agent fills the `title`, `left`, `right` and `winner` slots through plan.json. Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Clay & Ink look.

### Which aspect ratios does Versus support?

Versus is designed natively for 16:9 and stage-fits into 9:16, 4:5 and 1:1. A typical beat lasts 3.8s.

### How do I get Versus?

Versus is included in the Clay & Ink pack, which is part of the AgentFrames All-access subscription along with 47 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 Clay & Ink

- [Effort Dial](https://agentframes.ai/elements/clay-ink/effort-dial.md): Show a setting on a scale (effort, speed, risk): a needle sweeps to the chosen stop on a dial
- [Bar Chart](https://agentframes.ai/elements/clay-ink/bar-chart.md): Compare 3-7 values as rounded bars growing from a baseline, with one highlighted bar
- [Big Stat](https://agentframes.ai/elements/clay-ink/big-stat.md): One headline number counting up, with a label and source
- [Dashboard Tile](https://agentframes.ai/elements/clay-ink/dashboard-tile.md): A live dashboard panel: three KPIs with change chips and a trend sparkline, for results and metrics beats

## Community

Coming soon.
