# Opening Hook: Stacked Caps + Sparkle: Section title element for AI agents

> Opens the explainer: a small tracked label, then the headline rises line by line out of its masks in tall condensed caps (the last line in the second colour), a sparkle springs open at its corner and a kicker sets up the promise, over the scrolling outline marquee word.

Canonical page: https://agentframes.ai/elements/marquee/opening-hook/
Markdown: https://agentframes.ai/elements/marquee/opening-hook.md

## Overview

- Name: Opening Hook: Stacked Caps + Sparkle (`openingHook`), an element: one HyperFrames block per size
- Part of: the [Marquee](https://agentframes.ai/packs/marquee.md) pack (1 of 50). Available only through the All-access subscription.
- Category: Section title
- Purpose: Opens the explainer: a small tracked label, then the headline rises line by line out of its masks in tall condensed caps (the last line in the second colour), a sparkle springs open at its corner and a kicker sets up the promise, over the scrolling outline marquee word.
- Pack: [Marquee](https://agentframes.ai/packs/marquee.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 Flame (orange, red + smoke) (`flame`), Volt (yellow, orange + night) (`volt`), Berry (pink, violet + plum) (`berry`); avoid none
- Typical duration: 5.5s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/marquee/opening-hook.mp4
- Poster: https://agentframes.ai/media/marquee/opening-hook.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Marquee pack. Add a `openingHook` beat to plan.json on a `flame` canvas with slots `label`, `title` and `kicker` 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","minLength":1,"maxLength":28} | Creator growth, explained |
| `title` | string | title | {"type":"string","minLength":1,"maxLength":40} | Ready\|to grow? |
| `kicker` | string | kicker | {"type":"string","minLength":1,"maxLength":64} | Your first 1,000 followers, in five ideas. |

## What your agent can change

**Opening Hook: Stacked Caps + Sparkle**. Native 1920×1080, 5.5s at 30fps.

Opens the explainer: a small tracked label, then the headline rises line by line out of its masks in tall condensed caps (the last line in the second colour), a sparkle springs open at its corner and a kicker sets up the promise, over the scrolling outline marquee word.

**Motion.** Marquee word scrolls in fast and slows to a drift; corner burst fans draw outward; label tracking collapses; each line rises out of its mask 0.14 s apart (strong ease-out); the sparkle pops with a 45° turn and keeps a faint twinkle; kicker rises; at the end every line lifts back out of its mask.
**Why it moves.** attention + character: the line-by-line rise sets the reading rhythm and the sparkle says "this is the point".

### Mount

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

- `label`: {"type":"string","minLength":1,"maxLength":28}
- `title` (required): {"type":"string","minLength":1,"maxLength":40}
- `kicker`: {"type":"string","minLength":1,"maxLength":64}

- `title` is set in capitals and uses "|" to choose line breaks (max 3 lines; never shrunk to fit). With two or more lines the last line takes the second colour.

Style: `colourway` (flame, volt, berry), `accent` (optional hex), `footer`, `ground` (accent, hot or dark, default accent), `ghost` (the outline marquee word, default "GROW"), `exit` (lift or cut).

### Timing

5.5s. Everything has landed by 3.3s (60%), then the scene holds for reading (the marquee word and the corner fans slow to a residual drift,
text stays still) and every line lifts back out of its mask over the last 0.45 s, leaving the empty ground.

### Example

```json
{
  "label": "Creator growth, explained",
  "title": "Ready|to grow?",
  "kicker": "Your first 1,000 followers, in five ideas."
}
```

## FAQ

### What can my AI agent change in Opening Hook: Stacked Caps + Sparkle?

Your agent fills the `label`, `title` and `kicker` 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 Marquee look.

### Which aspect ratios does Opening Hook: Stacked Caps + Sparkle support?

Opening Hook: Stacked Caps + Sparkle is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 5.5s.

### How do I get Opening Hook: Stacked Caps + Sparkle?

Opening Hook: Stacked Caps + Sparkle is included in the Marquee 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 Marquee

- [Definition: The Outline Echo](https://agentframes.ai/elements/marquee/definition.md): Defines a term. The term rises out of its mask, an outline copy of it races in from the right and locks just behind it like a printed shadow, a thick rule draws and the meaning rises line by line.
- [Takeaway: Slab Word + CTA Button](https://agentframes.ai/elements/marquee/takeaway.md): Ends the explainer: the takeaway rises line by line in caps, a solid slab wipes in behind the key word and reverses it out, then the call to action lands as a solid button with an underline that draws, and the handle or URL tracks in below.
- [Marquee Lock](https://agentframes.ai/elements/marquee/marquee-lock.md): Signature device. Names the one word that matters: a train of giant outline copies of the word scrolls in from the right, decelerates and stops with one copy dead centre; that copy fills solid from the bottom while the others slide away and fade, burst lines and sparkles fire, then a two-tone caption rises underneath.
- [Chapter Card: Outline Numeral](https://agentframes.ai/elements/marquee/chapter-card.md): Opens a chapter: a giant outline chapter number slams in and fills solid from the bottom, then a tracked "Chapter 02" label and the chapter title rise beside it (16:9) or under it (other sizes), with an optional kicker.

## Community

Coming soon.
