# Slab Shutter: Transition element for AI agents

> Transition. Rounded candy slabs drop like blinds one after another, the ground drops in behind them, and the slabs carry on down out of frame, leaving empty ground. Transparent; mount it above the cut.

Canonical page: https://agentframes.ai/elements/gumdrop/slab-shutter/
Markdown: https://agentframes.ai/elements/gumdrop/slab-shutter.md

## Overview

- Name: Slab Shutter (`slabShutter`), an element: one HyperFrames block per size
- Part of: the [Gumdrop](https://agentframes.ai/packs/gumdrop.md) pack (50 of 50). Available only through the All-access subscription.
- Category: Transition
- Purpose: Transition. Rounded candy slabs drop like blinds one after another, the ground drops in behind them, and the slabs carry on down out of frame, leaving empty ground. Transparent; mount it above the cut.
- 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: 0.7s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/gumdrop/slab-shutter.mp4
- Poster: https://agentframes.ai/media/gumdrop/slab-shutter.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Gumdrop pack. Add a `slabShutter` beat to plan.json on a `night` canvas with slot `direction` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `direction` | enum | direction | {"type":"string","enum":["left","right"]} | left |

## What your agent can change

**Slab Shutter (transition, overlay)**. Native 1920×1080, 0.7s at 30fps. Transparent overlay: mount it on a track above a host scene.

Transition. Rounded candy slabs drop like blinds one after another, the ground drops in behind them, and the slabs carry on down out of frame, leaving empty ground. Transparent; mount it above the cut.

**Motion.** Each slab falls into place (ease in-out, 0.03 s apart) and slides on down; the ground sheet behind it lands first.
**Why it moves.** continuity: a tidy, directional chapter break for lists and step-by-step videos.

### Mount

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

- `direction`: {"type":"string","enum":["left","right"]}

- `direction` is the side the first slab drops on. Mount it on track 1 (`style="z-index:10"`) starting 0.56 s before the cut, and set the outgoing scene's `exit` to `cut`. The frame is fully covered with the empty ground from 0.5 s to 0.62 s.

Style: `colourway`, `accent`.

### Timing

0.7s. Full cover from 0.5 s to 0.62 s; mount it 0.56 s before the cut.

### Example

```json
{
  "direction": "left"
}
```

## FAQ

### What can my AI agent change in Slab Shutter?

Your agent fills the `direction` slot 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 Slab Shutter support?

Slab Shutter is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 0.7s.

### How do I get Slab Shutter?

Slab Shutter 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

- [Candy Wipe](https://agentframes.ai/elements/gumdrop/candy-wipe.md): Signature transition. A parade of big candy shapes (and a pal) rolls across the frame, and a sheet of the ground follows right behind them, sweeping the old scene away. Full cover runs from 0.5 s to 0.62 s, then the sheet is removed under the next scene's identical empty ground. Transparent; mount it on a track above the cut, starting 0.56 s before it.
- [Scallop Iris](https://agentframes.ai/elements/gumdrop/scallop-iris.md): Transition. Three candy scallops grow out of one point in quick succession and the ground grows inside them, covering the frame; a pal pops at the centre as it starts. Transparent; mount it above the cut.
- [Bubble Cover](https://agentframes.ai/elements/gumdrop/bubble-cover.md): Transition. Candy bubbles pop up all over the frame at slightly different moments and each one fills with the ground from inside, until the frame is empty ground. Transparent; mount it above the cut.
- [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.

## Community

Coming soon.
