# Topic tag: Label & callout element for AI agents

> A compact strip at the top of the board: a slab label ("TOPIC"), the topic in two voices ("ser *vs* estar") and the say/echo bars under it. Leaves the rest of the board free.

Canonical page: https://agentframes.ai/elements/echo/topic-tag/
Markdown: https://agentframes.ai/elements/echo/topic-tag.md

## Overview

- Name: Topic tag (`topicTag`), an element: one HyperFrames block per size
- Part of: the [Echo](https://agentframes.ai/packs/echo.md) pack (29 of 57). Available only through the All-access subscription.
- Category: Label & callout
- Purpose: A compact strip at the top of the board: a slab label ("TOPIC"), the topic in two voices ("ser *vs* estar") and the say/echo bars under it. Leaves the rest of the board free.
- Pack: [Echo](https://agentframes.ai/packs/echo.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: yes (can sit beside a speaker)
- Preview video (watermarked): https://agentframes.ai/media/echo/topic-tag.mp4
- Poster: https://agentframes.ai/media/echo/topic-tag.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Echo pack. Add a `topicTag` beat to plan.json on a `k` canvas with slots `label`, `text`, `at`, `side` and `stay` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `label` | string | label | {"type":"string","maxLength":14} | TOPIC |
| `text` | string | text | {"type":"string","maxLength":30,"minLength":1} | ser *vs* estar |
| `at` | string | at | JSON string. {"type":"object","description":"optional land times in block seconds, to match the transcript: {in}","properties":{"in":{"type":"number","minimum":0}}} |  |
| `side` | enum | side | {"type":"string","enum":["left","right"],"description":"16:9 only: which side the board is on"} |  |
| `stay` | boolean | stay | {"type":"boolean","description":"true = no outro (holds until the piece ends)"} | false |

## What your agent can change

**Topic tag**. Native 1920×1080, 5s at 30fps. Draws in the board above (16:9: beside) the speaker box (transparent everywhere else; the starter supplies the live board ground).

A compact strip at the top of the board: a slab label ("TOPIC"), the topic in two voices ("ser *vs* estar") and the say/echo bars under it. Leaves the rest of the board free.

**Motion.** The slab sweeps in; the words rise 0.07 s apart; the blue then the green bar draws. Outro: parts lift 14 px, soften with a 4 px blur and fade (0.22 s, ease in), last-in first-out, over the last ~0.4 s.
**Why it moves.** attention: names what this stretch is about without taking the board.

### Mount

Copy every manifest file into your project (plus `af-echo-runtime`). Mount with a unique host id, `data-composition-id="af-echo-topic-tag-16x9"`,
`data-composition-src="compositions/af-echo-topic-tag-16x9.html"`, `data-duration="5"` and `data-variable-values`.
Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): each is laid out natively, never scaled.
In a starter set `backdrop` to `""`: the starter draws the live board ground and the footage panel (the default still is only there so the block reads on its own).

### 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 (text is fitted to at most 75% of its design size, never cut).

- `label`: {"type":"string","maxLength":14}
- `text`: {"type":"string","maxLength":30,"minLength":1}
- `at`: {"type":"object","description":"optional land times in block seconds, to match the transcript: {in}","properties":{"in":{"type":"number","minimum":0}}}
- `side`: {"type":"string","enum":["left","right"],"description":"16:9 only: which side the board is on"}
- `stay`: {"type":"boolean","description":"true = no outro (holds until the piece ends)"}


### Brand and layout

Brand variables (defaults from the pack's `brand.json`): `creator`, `handle`, `channel`, `tagline`, `series`, `niche`, `language`, `colourway`, `accent`, `monogram`, `logo`, `avatar`, `keyword`, `ctaFollow`, `ctaLink`, `ctaCode`, `ctaComment`. `colourway` is night, azulejo or chalk;
`accent` (hex) recolours the slab (titles' hairlines, slabs, tags, the forget pin, the ripple), and falls back if type would not read on it (4.5:1).
Layout: `side` (16:9 only: the board on the left or right), `backdrop` (a speaker still shown when the block is seen on its own;
"" over live footage), `speakerFocus` (crop of that still), `full` (true while the speaker box is open to the full frame),
`capY` (px; centre line of the captions, 0 = just above the speaker box, or on the chest when full).

### Example

```json
{
  "label": "TOPIC",
  "text": "ser *vs* estar"
}
```

## FAQ

### What can my AI agent change in Topic tag?

Your agent fills the `label`, `text`, `at`, `side` and `stay` 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 Echo look.

### Which aspect ratios does Topic tag support?

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

### How do I get Topic tag?

Topic tag is included in the Echo pack, which is part of the AgentFrames All-access subscription along with 56 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 Echo

- [Collab / ad disclosure tag](https://agentframes.ai/elements/echo/collab-tag.md): The disclosure: a "Paid partnership" slab with a partner card forked off it (the partner's initial on a blue tile, the name). It sits on the board above the seam (16:9: low in the speaker box), never on the face.
- [Callout beside the head (forked from the box)](https://agentframes.ai/elements/echo/callout.md): A tip card on the board with a fork drawn from a blue dot on the speaker box's edge (the top edge on stacked sizes, the inner edge on 16:9), so it reads as coming from you. A head with its hairline, the tip, an optional tag slab.
- [Question card: "how do you say…?" → answer](https://agentframes.ai/elements/echo/question-card.md): A viewer question card ("You asked") with a paprika question-mark disc on its corner; on the answer cue a green fork draws down to the answer card ("Say it": the phrase, in green) and a tag slab says where it is used.
- [False friends](https://agentframes.ai/elements/echo/false-friends.md): the word big in the italic; a paprika fork to "not: embarrassed", which gets struck; a green fork to "it means: pregnant".

## Community

Coming soon.
