# Highlight Square: Label & callout element for AI agents

> Frames any area of a scene or footage: a thick accent frame is pressed down round it, with an optional label tab. Transparent background; mount it on a track above the host scene.

Canonical page: https://agentframes.ai/elements/tabletop/highlight-square/
Markdown: https://agentframes.ai/elements/tabletop/highlight-square.md

## Overview

- Name: Highlight Square (`highlightSquare`), an element: one HyperFrames block per size
- Part of: the [Tabletop](https://agentframes.ai/packs/tabletop.md) pack (28 of 50). Available only through the All-access subscription.
- Category: Label & callout
- Purpose: Frames any area of a scene or footage: a thick accent frame is pressed down round it, with an optional label tab. Transparent background; mount it on a track above the host scene.
- Pack: [Tabletop](https://agentframes.ai/packs/tabletop.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 Cream table (cream linen, white board) (`cream`), Kitchen table (pale oak, pastel pieces) (`kitchen`), Sky table (pale blue, white board, bright pieces) (`sky`); avoid none
- Typical duration: 3.5s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/tabletop/highlight-square.mp4
- Poster: https://agentframes.ai/media/tabletop/highlight-square.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Tabletop pack. Add a `highlightSquare` beat to plan.json on a `cream` canvas with slots `x`, `y`, `w`, `h` and `label` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `x` | number | x | {"type":"number","minimum":0,"maximum":100} | 40 |
| `y` | number | y | {"type":"number","minimum":0,"maximum":100} | 40 |
| `w` | number | w | {"type":"number","minimum":1,"maximum":100} | 22 |
| `h` | number | h | {"type":"number","minimum":1,"maximum":100} | 26 |
| `label` | string | label | {"type":"string","minLength":1,"maxLength":20} | Look here |

## What your agent can change

**Highlight Square (overlay)**. Native 1920×1080, 3.5s at 30fps. Transparent overlay: mount it on a track above a host scene.

Frames any area of a scene or footage: a thick accent frame is pressed down round it, with an optional label tab. Transparent background; mount it on a track above the host scene.

**Motion.** The frame comes in 8% big and settles (ease-out); the tab is set down after it; it lifts away at the end.
**Why it moves.** attention: a frame on the board says "look here" without covering what it points at.

### Mount

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

- `x` (required): {"type":"number","minimum":0,"maximum":100}
- `y` (required): {"type":"number","minimum":0,"maximum":100}
- `w` (required): {"type":"number","minimum":1,"maximum":100}
- `h` (required): {"type":"number","minimum":1,"maximum":100}
- `label`: {"type":"string","minLength":1,"maxLength":20}

- `x`/`y` are the top-left corner and `w`/`h` the size, all in percent of the frame.

Style: `colourway`, `accent`.

### Timing

3.5s. Everything has landed by 2.1s (60%), then the scene holds for reading (the lamp light drifts slowly over the table;
text stays still) and is lifted away over the last 0.5 s.

### Example

```json
{
  "x": 40,
  "y": 40,
  "w": 22,
  "h": 26,
  "label": "Look here"
}
```

## FAQ

### What can my AI agent change in Highlight Square?

Your agent fills the `x`, `y`, `w`, `h` and `label` 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 Tabletop look.

### Which aspect ratios does Highlight Square support?

Highlight Square is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 3.5s.

### How do I get Highlight Square?

Highlight Square is included in the Tabletop 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 Tabletop

- [Pointer Callout](https://agentframes.ai/elements/tabletop/pointer-callout.md): Points at one spot on any Tabletop scene (or other footage): a thick accent ring with an ink edge closes in round the target, a board line runs from it, and a little card is set down at its end with a label and optional detail. Transparent background; mount it on a track above the host scene.
- [Quote Card + Source Chip](https://agentframes.ai/elements/tabletop/quote-card.md): A quote with its source. A white rule card is dealt with the quote rising line by line; the source is a yellow chip set down on the card's bottom edge.
- [Source Card](https://agentframes.ai/elements/tabletop/source-card.md): Cites a source: a small white card with "Source" and the reference is set down in a corner of any scene. Transparent background; mount it on a track above the host scene.
- [Label Token](https://agentframes.ai/elements/tabletop/label-token.md): A short label on a poker-chip token, set down at any spot on a scene. Transparent background; mount it on a track above the host scene.

## Community

Coming soon.
