# Connector Toggle: Switch It On: AI & chat element for AI agents

> Show enabling a capability: the cursor flips one connector on and its source lights up.

Canonical page: https://agentframes.ai/elements/clay-ink-explainer/connector-toggle/
Markdown: https://agentframes.ai/elements/clay-ink-explainer/connector-toggle.md

## Overview

- Name: Connector Toggle: Switch It On (`connectorToggle`), an element: one HyperFrames block per size
- Part of: the [Clay & Ink: Explainer](https://agentframes.ai/packs/clay-ink-explainer.md) pack (43 of 50). Available only through the All-access subscription.
- Category: AI & chat
- Purpose: Show enabling a capability: the cursor flips one connector on and its source lights up.
- Pack: [Clay & Ink: Explainer](https://agentframes.ai/packs/clay-ink-explainer.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 Paper (ivory) (`paper`), Dusk (sky blue + halftone) (`dusk`), Night (near-black + stars) (`night`); avoid none
- Typical duration: 7s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/clay-ink-explainer/connector-toggle.mp4
- Poster: https://agentframes.ai/media/clay-ink-explainer/connector-toggle.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Clay & Ink: Explainer pack. Add a `connectorToggle` beat to plan.json on a `paper` canvas with slots `eyebrow`, `title`, `menu`, `items`, `target` and `enabledLabel` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `eyebrow` | string | eyebrow | {"type":"string","minLength":0,"maxLength":24} |  |
| `title` | string | title | {"type":"string","minLength":0,"maxLength":60} |  |
| `menu` | string | menu | {"type":"string","minLength":1,"maxLength":24} | Connectors |
| `items` | string | items | JSON string. {"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":28},"icon":{"type":"string","enum":["doc","slides","design","calendar","mail","chart","chat","code","folder","globe","search","check","clock","user","list","bolt","file","logo:android","logo:app-store","logo:apple","logo:asana","logo:calendar","logo:chrome","logo:drive","logo:dropbox","logo:excel","logo:figma","logo:github","logo:gmail","logo:google-docs","logo:google-meet","logo:google-play","logo:google-sheets","logo:hubspot","logo:linkedin","logo:notion","logo:outlook","logo:pdf","logo:powerpoint","logo:salesforce","logo:shopify","logo:slack","logo:stripe","logo:teams","logo:word","logo:youtube","logo:zoom"]},"on":{"type":"boolean"}},"required":["label","on"]},"minItems":2,"maxItems":5} | [{"label":"Google Drive","icon":"logo:drive","on":true},{"label":"Gmail","icon":"logo:gmail","on":true},{"label":"Salesforce","icon":"logo:salesforce","on":false},{"label":"Notion","icon":"logo:notion","on":false}] |
| `target` | number | target | {"type":"integer","minimum":0,"maximum":4} | 2 |
| `enabledLabel` | string | enabledLabel | {"type":"string","minLength":1,"maxLength":12} | Enabled |

## What your agent can change

Show enabling a capability: the cursor flips one connector on and its source lights up.

Native 1920x1080, 7 s at 30 fps. Full-frame graphics block; use the variant that matches your project size.
Motion: change: the toggle is the decision; the light-up is the consequence.

### Edit

Set per-instance values in the host mount's `data-variable-values` (nested values are JSON strings). The block validates every value before it draws and throws a readable error naming the slot (see the console / `data-cie-error` on the root) instead of silently trimming or shrinking content.

- `eyebrow`: `{"type":"string","minLength":0,"maxLength":24}`
- `title`: `{"type":"string","minLength":0,"maxLength":60}`
- `menu` (required): `{"type":"string","minLength":1,"maxLength":24}`
- `items` (required): JSON string; `{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":28},"icon":{"type":"string","enum":["doc","slides","design","calendar","mail","chart","chat","code","folder","globe","search","check","clock","user","list","bolt","file","logo:android","logo:app-store","logo:apple","logo:asana","logo:calendar","logo:chrome","logo:drive","logo:dropbox","logo:excel","logo:figma","logo:github","logo:gmail","logo:google-docs","logo:google-meet","logo:google-play","logo:google-sheets","logo:hubspot","logo:linkedin","logo:notion","logo:outlook","logo:pdf","logo:powerpoint","logo:salesforce","logo:shopify","logo:slack","logo:stripe","logo:teams","logo:word","logo:youtube","logo:zoom"]},"on":{"type":"boolean"}},"required":["label","on"]},"minItems":2,"maxItems":5}`
- `target` (required): `{"type":"integer","minimum":0,"maximum":4}`
- `enabledLabel` (required): `{"type":"string","minLength":1,"maxLength":12}`

items: 2 to 5 {label, icon, on}. target: zero-based row to switch on (must start off).

Style (from brand.json): `colourway` (paper, dusk, night), `accent` (hex), `brandName` (wordmark text), `mark` (spark, dot, none, or an inline base64 image).

### Timing

Content settles by 60% of the block (4.2 s) and holds for reading; the last 0.45 s draws out. To give longer copy more time, raise the block's `data-duration` and the mount's `data-duration` together; the engine's checks use the duration you set.

### Example mount

```html
<div id="scene-1" data-composition-id="af-clay-ink-explainer-connector-toggle-16x9" data-composition-src="compositions/af-clay-ink-explainer-connector-toggle-16x9.html" data-start="0" data-duration="7" data-width="1920" data-height="1080" data-track-index="0"
  data-variable-values='{"eyebrow":"","title":"","menu":"Connectors","items":"[{\"label\":\"Google Drive\",\"icon\":\"logo:drive\",\"on\":true},{\"label\":\"Gmail\",\"icon\":\"logo:gmail\",\"on\":true},{\"label\":\"Salesforce\",\"icon\":\"logo:salesforce\",\"on\":false},{\"label\":\"Notion\",\"icon\":\"logo:notion\",\"on\":false}]","target":2,"enabledLabel":"Enabled"}'></div>
```

Source: editable HTML; shared runtime `assets/af-clay-ink-explainer/cie.js` (component af-clay-ink-explainer-runtime). Fonts are OFL; logos and the spark are third-party marks (see TRADEMARKS.md).

## FAQ

### What can my AI agent change in Connector Toggle: Switch It On?

Your agent fills the `eyebrow`, `title`, `menu`, `items`, `target` and `enabledLabel` 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 Clay & Ink: Explainer look.

### Which aspect ratios does Connector Toggle: Switch It On support?

Connector Toggle: Switch It On is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 7s.

### How do I get Connector Toggle: Switch It On?

Connector Toggle: Switch It On is included in the Clay & Ink: Explainer 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 Clay & Ink: Explainer

- [Question and Answer: Structured Reply](https://agentframes.ai/elements/clay-ink-explainer/question-answer.md): Ask a question, then give a structured answer: up to three short paragraphs, each with a bold lead-in, revealed line by line.
- [Cause → Effect: Prompt to Finished File](https://agentframes.ai/elements/clay-ink-explainer/cause-effect.md): Connect an input to its result: a request, a working line, and the finished artifact card.
- [Myth vs Fact: Comment Correction](https://agentframes.ai/elements/clay-ink-explainer/myth-fact.md): Correct a claim the way a document does: the claim is highlighted, a comment asks, the reply sets it straight.
- [Spark Thinking: Working Timer](https://agentframes.ai/elements/clay-ink-explainer/spark-thinking.md): Hold a beat while work happens: the mark spins over a status line and a timer counting real seconds, with steps appearing beneath.

## Community

Coming soon.
