# Frost Before / After: Social post element for AI agents

> Before / after: a frosted (blurred) photo is cleared by a glass slider handle to reveal the sharp after

Canonical page: https://agentframes.ai/elements/frost/before-after/
Markdown: https://agentframes.ai/elements/frost/before-after.md

## Overview

- Name: Frost Before / After (`beforeAfter`), an element: one HyperFrames block per size
- Part of: the [Frost](https://agentframes.ai/packs/frost.md) pack (4 of 45). Available only through the All-access subscription.
- Category: Social post
- Purpose: Before / after: a frosted (blurred) photo is cleared by a glass slider handle to reveal the sharp after
- Pack: [Frost](https://agentframes.ai/packs/frost.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: 9:16 (native), 16:9 (stage-fit)
- Canvases: works on frost haze (hero) (`f`), mist white (`m`), aqua glow (`a`); avoid night glass (`n`)
- Typical duration: 4s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/frost/before-after.mp4
- Poster: https://agentframes.ai/media/frost/before-after.jpg
- Native 9:16 preview (watermarked): https://agentframes.ai/media/frost/before-after-native.mp4
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Frost pack. Add a `beforeAfter` beat to plan.json on a `f` canvas with slots `kicker`, `photo`, `before` and `after` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `kicker` | string | Kicker | Plain text. | Same shot, better light |
| `photo` | string | Photo | Plain text. |  |
| `before` | string | Before | Plain text. | Before |
| `after` | string | After | Plain text. | After |

## What your agent can change

### Surface

Before / after: a frosted (blurred) photo is cleared by a glass slider handle to reveal the sharp after. Category: `post`. Canvases: ok `f, m, a`; avoid `n` (the element vanishes on these). Typical 4s; settles at 2.5s.

### Editable (fill through plan.json `slots`)

- `kicker` (string) **EXAMPLE DATA: replace or get client sign-off**. Plain text.
- `photo` (string). Plain text.
- `before` (string). Plain text.
- `after` (string). Plain text.

Optional style/layout overrides: `y`. Use them only to fix fit, never to change the brand.

### Protected

Do not change the motion, timing, easing, bounce, the palette roles (colours come from frame.md → tokens.css), fonts, or the element's internal layout. Keep copy close to the default length (±25%) so it fits.

### Safe editing

Set values in the beat's `slots` in plan.json, run `tools/validate.mjs`, rebuild, and check `qa/contact.jpg`. Never hand-edit the generated index.html or this element's code for a single video.

## FAQ

### What can my AI agent change in Frost Before / After?

Your agent fills the `kicker`, `photo`, `before` and `after` slots through plan.json. Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Frost look.

### Which aspect ratios does Frost Before / After support?

Frost Before / After is designed natively for 9:16 and stage-fits into 16:9. A typical beat lasts 4s.

### How do I get Frost Before / After?

Frost Before / After is included in the Frost pack, which is part of the AgentFrames All-access subscription along with 44 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 Frost

- [DM Thread](https://agentframes.ai/elements/frost/chat-bubbles.md): DM thread: glass header, incoming bubble, typing dots, the teal reply lands with a sparkle
- [Comment Reply](https://agentframes.ai/elements/frost/comment-reply.md): Reply to a comment: 'Replying to @…' pill, glass comment bubble with the viewer's question points at the speaker
- [Countdown Tile](https://agentframes.ai/elements/frost/countdown-tile.md): Countdown: three glass tiles (h/min/sec) tick down live, reminder pill with a bell
- [Follow End Card](https://agentframes.ai/elements/frost/follow-cta.md): End card: glass profile card, cursor taps Follow (turns teal), link-in-bio pill bleeds off the bottom

## Community

Coming soon.
