# Flashcard flip: Label & callout element for AI agents

> a big flashcard (blue tab, the phrase in the italic, "SAY IT") flips over on cue to its back (green tab, the echo in Red Hat, "ECHO IT").

Canonical page: https://agentframes.ai/elements/echo/flashcard-flip/
Markdown: https://agentframes.ai/elements/echo/flashcard-flip.md

## Overview

- Name: Flashcard flip (`flashcardFlip`), an element: one HyperFrames block per size
- Part of: the [Echo](https://agentframes.ai/packs/echo.md) pack (56 of 57). Available only through the All-access subscription.
- Category: Label & callout
- Purpose: a big flashcard (blue tab, the phrase in the italic, "SAY IT") flips over on cue to its back (green tab, the echo in Red Hat, "ECHO IT").
- 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: 7s
- Speaker-safe: yes (can sit beside a speaker)
- Preview video (watermarked): https://agentframes.ai/media/echo/flashcard-flip.mp4
- Poster: https://agentframes.ai/media/echo/flashcard-flip.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

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

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `front` | string | front | {"type":"string","maxLength":30,"minLength":1} | Me pone un café |
| `back` | string | back | {"type":"string","maxLength":34,"minLength":1} | I'll have a coffee |
| `at` | string | at | JSON string. {"type":"object","description":"optional land times in block seconds, to match the transcript: {in, flip}","properties":{"in":{"type":"number","minimum":0},"flip":{"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"} | false |

## What your agent can change

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

a big flashcard (blue tab, the phrase in the italic, "SAY IT") flips over on cue to its back (green tab, the echo in Red Hat, "ECHO IT").

**Motion.** The card rises with a spring; on the flip cue it turns 180° (0.6 s, in-out) with a slight dip in scale mid-turn. 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.** change: the flip is the echo.

### Mount

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

- `front`: {"type":"string","maxLength":30,"minLength":1}
- `back`: {"type":"string","maxLength":34,"minLength":1}
- `at`: {"type":"object","description":"optional land times in block seconds, to match the transcript: {in, flip}","properties":{"in":{"type":"number","minimum":0},"flip":{"type":"number","minimum":0}}}
- `side`: {"type":"string","enum":["left","right"],"description":"16:9 only: which side the board is on"}
- `stay`: {"type":"boolean"}


### 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
{
  "front": "Me pone un café",
  "back": "I'll have a coffee"
}
```

## FAQ

### What can my AI agent change in Flashcard flip?

Your agent fills the `front`, `back`, `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 Flashcard flip support?

Flashcard flip is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 7s.

### How do I get Flashcard flip?

Flashcard flip 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.
- [Topic tag](https://agentframes.ai/elements/echo/topic-tag.md): 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.

## Community

Coming soon.
