# Rest Timer: Stat & chart element for AI agents

> A big ring counts the rest down (the ring empties while the seconds tick), then the next set slaps on as tape.

Canonical page: https://agentframes.ai/elements/taped/rest-timer/
Markdown: https://agentframes.ai/elements/taped/rest-timer.md

## Overview

- Name: Rest Timer (`restTimer`), an element: one HyperFrames block per size
- Part of: the [Taped](https://agentframes.ai/packs/taped.md) pack (50 of 53). Available only through the All-access subscription.
- Category: Stat & chart
- Purpose: A big ring counts the rest down (the ring empties while the seconds tick), then the next set slaps on as tape.
- Pack: [Taped](https://agentframes.ai/packs/taped.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 none; avoid none
- Typical duration: 5s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/taped/rest-timer.mp4
- Poster: https://agentframes.ai/media/taped/rest-timer.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Taped pack. Add a `restTimer` beat to plan.json on a `k` canvas with slots `kicker`, `title`, `seconds` and `next` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `kicker` | string | kicker | {"type":"string","minLength":0,"maxLength":14} |  |
| `title` | string | title | {"type":"string","minLength":1,"maxLength":32} | Rest *90 seconds* |
| `seconds` | number | seconds | {"type":"number","minimum":5,"maximum":300} | 90 |
| `next` | string | next | {"type":"string","minLength":0,"maxLength":16} | Set 3: go |

## What your agent can change

**Rest Timer**. Native 1920×1080, 5s at 30fps. A cutaway on the rubber floor.

A big ring counts the rest down (the ring empties while the seconds tick), then the next set slaps on as tape.

**Motion.** The ring empties (ease in-out) over 1.8 s while the time ticks to 0:00; the tape slaps on.
**Why it moves.** character: the rest between sets, compressed.

### Mount

Copy every manifest file into your project (plus `af-taped-runtime`). Mount with a unique host id, `data-composition-id="af-taped-rest-timer-16x9"`,
`data-composition-src="compositions/af-taped-rest-timer-16x9.html"`, `data-duration` and `data-variable-values`. A longer `data-duration` than 5s
extends the hold (the exit moves to the end of the mount). Use the variant whose size matches your project: 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":14}
- `title` (required): {"type":"string","minLength":1,"maxLength":32}
- `seconds`: {"type":"number","minimum":5,"maximum":300}
- `next`: {"type":"string","minLength":0,"maxLength":16}


### Brand and layout

Brand variables (defaults from `brand.json`): `colourway`, `accent`, `creator`, `handle`, `channel`, `tagline`, `monogram`, `ctaFollow`, `ctaLink`, `ctaCode`. Layout: `exit` (wipe or hold).

### Example

```json
{
  "kicker": "",
  "title": "Rest *90 seconds*",
  "seconds": 90,
  "next": "Set 3: go"
}
```

## FAQ

### What can my AI agent change in Rest Timer?

Your agent fills the `kicker`, `title`, `seconds` and `next` 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 Taped look.

### Which aspect ratios does Rest Timer support?

Rest Timer is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 5s.

### How do I get Rest Timer?

Rest Timer is included in the Taped pack, which is part of the AgentFrames All-access subscription along with 52 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 Taped

- [Set Card](https://agentframes.ai/elements/taped/set-card.md): The set on the gym floor: the weight plate rolls in and spins to a stop on the number while its ring fills to the progress, the sets × reps land in outline caps, then the form cues slap on as tape strips one after another at angles and the marker writes each one (the last on the coloured tape).
- [Stat Tile](https://agentframes.ai/elements/taped/stat-tile.md): One big figure on a taped panel that counts up and lands exactly, its label in the accent and an optional context line.
- [Poll](https://agentframes.ai/elements/taped/poll.md): A poll: the question in heavy caps, two or three options as bars that fill to their share, the winner in the accent.
- [Then vs Now](https://agentframes.ai/elements/taped/then-now.md): Two stat tiles side by side, THEN (muted) and NOW (accent edge), the NOW figure counting up, with a context line.

## Community

Coming soon.
