# Definition: Term + Candy Smile: Section title element for AI agents

> Defines a term. The term drops in big, a thick candy smile swings up under it like an underline, a word-type tag slaps on above, a pal beside the term reads it, and the meaning rises line by line.

Canonical page: https://agentframes.ai/elements/gumdrop/definition/
Markdown: https://agentframes.ai/elements/gumdrop/definition.md

## Overview

- Name: Definition: Term + Candy Smile (`definition`), an element: one HyperFrames block per size
- Part of: the [Gumdrop](https://agentframes.ai/packs/gumdrop.md) pack (2 of 50). Available only through the All-access subscription.
- Category: Section title
- Purpose: Defines a term. The term drops in big, a thick candy smile swings up under it like an underline, a word-type tag slaps on above, a pal beside the term reads it, and the meaning rises line by line.
- Pack: [Gumdrop](https://agentframes.ai/packs/gumdrop.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 Night (candy on near-black) (`night`), Cream (candy on warm paper) (`cream`), Grape (candy on deep violet) (`grape`); avoid none
- Typical duration: 6.5s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/gumdrop/definition.mp4
- Poster: https://agentframes.ai/media/gumdrop/definition.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Gumdrop pack. Add a `definition` beat to plan.json on a `night` canvas with slots `tag`, `term` and `meaning` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `tag` | string | tag | {"type":"string","minLength":1,"maxLength":24} | noun |
| `term` | string | term | {"type":"string","minLength":1,"maxLength":22} | Spaced repetition |
| `meaning` | string | meaning | {"type":"string","minLength":1,"maxLength":130} | Reviewing something just as you are about to forget it, with longer gaps each time. |

## What your agent can change

**Definition: Term + Candy Smile**. Native 1920×1080, 6.5s at 30fps.

Defines a term. The term drops in big, a thick candy smile swings up under it like an underline, a word-type tag slaps on above, a pal beside the term reads it, and the meaning rises line by line.

**Motion.** Letters fall and squash (0.05 s apart); the smile springs from a tilt to level; the tag slaps on; the pal pops up and its eyes track across the word, then drop to the meaning; meaning lines rise 0.1 s apart.
**Why it moves.** change + character: the smile lands the word as "settled", and the pal reading it models what the viewer should do next.

### Mount

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

- `tag`: {"type":"string","minLength":1,"maxLength":24}
- `term` (required): {"type":"string","minLength":1,"maxLength":22}
- `meaning` (required): {"type":"string","minLength":1,"maxLength":130}

- `term` is one line in 16:9 and up to two lines ("|" to choose the break) in the other sizes. The pal only appears where there is room beside the term.

Style: `colourway` (night, cream, grape), `accent` (optional hex), `footer`, `exit` (pop or cut).

### Timing

6.5s. Everything has landed by 3.9s (60%), then the scene holds for reading (the small candy shapes in the margins bob at a residual drift,
text stays still) and every piece pops away over the last 0.5 s, leaving the empty ground.

### Example

```json
{
  "tag": "noun",
  "term": "Spaced repetition",
  "meaning": "Reviewing something just as you are about to forget it, with longer gaps each time."
}
```

## FAQ

### What can my AI agent change in Definition: Term + Candy Smile?

Your agent fills the `tag`, `term` and `meaning` 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 Gumdrop look.

### Which aspect ratios does Definition: Term + Candy Smile support?

Definition: Term + Candy Smile is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 6.5s.

### How do I get Definition: Term + Candy Smile?

Definition: Term + Candy Smile is included in the Gumdrop 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 Gumdrop

- [Opening Hook: Drop-In Title + Pal](https://agentframes.ai/elements/gumdrop/opening-hook.md): Opens the explainer: a candy tag slaps on, the title drops in letter by letter and lands with a squash, candy bits burst out from behind it, and a googly-eyed pal pops up beside the last word, looks at it, then looks at you. A kicker sets up the promise.
- [Takeaway: Tagged Word + Candy Button](https://agentframes.ai/elements/gumdrop/takeaway.md): Ends the explainer: the takeaway drops in letter by letter, a candy tag-pill slaps on behind the key word, then the call to action arrives as a candy button that gets pressed, with a burst of candy bits and the handle below.
- [Chapter Title: Big Number Shape](https://agentframes.ai/elements/gumdrop/chapter-title.md): Opens a chapter: a big scalloped badge with the chapter number falls from above, lands with a squash and a burst of candy bits, then the chapter name drops in under it letter by letter, with an optional kicker.
- [Outro: Follow + Next](https://agentframes.ai/elements/gumdrop/outro.md): Ends the video: the series tag slaps on, the follow line drops in beside a pink heart pal that waves, and the handle and a next-episode chip pop in under it, with candy shapes gathering round.

## Community

Coming soon.
