# Highlight Pane: Label & callout element for AI agents

> Spotlights one region of any scene: the rest of the frame dims as if the light went out of it, a lead frame is set round the region and its edge glows in the accent; an optional label pane lights above or below. Transparent; mount it on a track above the host scene.

Canonical page: https://agentframes.ai/elements/leadlight/highlight-pane/
Markdown: https://agentframes.ai/elements/leadlight/highlight-pane.md

## Overview

- Name: Highlight Pane (`highlightPane`), an element: one HyperFrames block per size
- Part of: the [Leadlight](https://agentframes.ai/packs/leadlight.md) pack (30 of 50). Available only through the All-access subscription.
- Category: Label & callout
- Purpose: Spotlights one region of any scene: the rest of the frame dims as if the light went out of it, a lead frame is set round the region and its edge glows in the accent; an optional label pane lights above or below. Transparent; mount it on a track above the host scene.
- Pack: [Leadlight](https://agentframes.ai/packs/leadlight.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 Daylight (pale jewel glass on stone) (`daylight`), Vellum (deep jewel glass on warm parchment) (`vellum`), Modern (Bauhaus primaries on white) (`modern`); avoid none
- Typical duration: 4s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/leadlight/highlight-pane.mp4
- Poster: https://agentframes.ai/media/leadlight/highlight-pane.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Leadlight pack. Add a `highlightPane` beat to plan.json on a `daylight` canvas with slots `x`, `y`, `w`, `h`, `shape`, `label` and `side` 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} | 50 |
| `y` | number | y | {"type":"number","minimum":0,"maximum":100} | 56 |
| `w` | number | w | {"type":"number","minimum":4,"maximum":100} | 42 |
| `h` | number | h | {"type":"number","minimum":4,"maximum":100} | 30 |
| `shape` | enum | shape | {"type":"string","enum":["rect","round"]} | rect |
| `label` | string | label | {"type":"string","minLength":1,"maxLength":24} | This is the one |
| `side` | enum | side | {"type":"string","enum":["auto","above","below"]} | auto |

## What your agent can change

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

Spotlights one region of any scene: the rest of the frame dims as if the light went out of it, a lead frame is set round the region and its edge glows in the accent; an optional label pane lights above or below. Transparent; mount it on a track above the host scene.

**Motion.** The veil dims in; the frame draws round the region; its accent edge and halo come up; the label pane draws and ignites; it all dims away over the last 0.5 s.
**Why it moves.** attention: everything else goes dark, so there is only one place to look.

### Mount

Copy every manifest file into your project (plus `af-leadlight-runtime`). Mount with a unique host id, `data-composition-id="af-leadlight-highlight-pane-16x9"`,
`data-composition-src="compositions/af-leadlight-highlight-pane-16x9.html"`, `data-duration="4"` 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":4,"maximum":100}
- `h` (required): {"type":"number","minimum":4,"maximum":100}
- `shape`: {"type":"string","enum":["rect","round"]}
- `label`: {"type":"string","minLength":1,"maxLength":24}
- `side`: {"type":"string","enum":["auto","above","below"]}

- `x`/`y` are the region centre and `w`/`h` its size, all in percent of the frame.

Style: `colourway`, `accent`.

### Timing

4s. Everything has landed by 2.4s (60%), then the scene holds for reading (shafts of light drift slowly across the wall;
text stays still) and dims away over the last 0.5 s.

### Example

```json
{
  "x": 50,
  "y": 56,
  "w": 42,
  "h": 30,
  "shape": "rect",
  "label": "This is the one",
  "side": "auto"
}
```

## FAQ

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

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

### Which aspect ratios does Highlight Pane support?

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

### How do I get Highlight Pane?

Highlight Pane is included in the Leadlight 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 Leadlight

- [Pointer Callout](https://agentframes.ai/elements/leadlight/pointer-callout.md): Points at one spot on any Leadlight scene (or other footage): a double ring of lead is set round the target and fills with accent light, a came runs to a small inscription pane of pale glass, which lights with a label and an optional italic detail. Transparent background; mount it on a track above the host scene.
- [Quote Panel: Inscription Band](https://agentframes.ai/elements/leadlight/quote-panel.md): A quotation on an inscription panel of pale glass between two borders of small jewel panes, with an accent opening mark; the attribution follows below in Cinzel capitals with an optional role or source line.
- [Source Plate](https://agentframes.ai/elements/leadlight/source-plate.md): Cites a source on any scene: a small brass plate with two screws is set in a corner and the source is engraved on it in Plex Mono under a small tag. Transparent; mount it on a track above the host scene.
- [Label Roundel](https://agentframes.ai/elements/leadlight/label-roundel.md): Marks any spot with a small roundel of accent glass (a number, a short word or a percentage) ringed with jewel rim lights, with an optional caption on a pale pane under it. Transparent; mount it on a track above the host scene.

## Community

Coming soon.
