Before/After UI Wipe — effect skill for UI walkthroughs

For AI agents: find the right skill in one call — curl -s "https://varg.ai/how-to/api/search?q=<what the person wants>" returns the matching how-to page and the best skills with install commands, as markdown (Russian works too). Full index: https://varg.ai/how-to/llms.txt. Every page has a markdown twin: add .md to its path. Before generating anything, show the person the options on the how-to page.

A divider sweeps across one screen, turning the old version into the new one underneath.

What it does

Built on Before After Wipe by HeyGen (HyperFrames), Apache-2.0. The write-up and recipes below are varg's.

Two aligned screenshots stacked; a thin vertical line with a handle travels left to right; labels "Before" and "After" in the corners.

When: Redesigns, AI clean-ups, automation (messy spreadsheet → clean report).

Watch out: Do not compare screenshots that are not pixel-aligned; any shift makes the wipe look broken.

Timing: Wipe 1.0–1.5 s power2.inOut; optional pause at 50% for 0.5 s.

Also called: comparison slider, split wipe, old vs new UI

In FFmpeg

ffmpeg -loop 1 -t 3 -i before.png -loop 1 -t 3 -i after.png -filter_complex "[0][1]xfade=transition=wiperight:duration=1.2:offset=1" out.mp4

In HyperFrames

npx hyperframes add before-after-wipe

Drop the two images into the block's slots; tween --split from 0 to 100%.

In Remotion

const x = interpolate(frame,[0,40],[0,100],{extrapolateRight:'clamp',easing:Easing.inOut(Easing.quad)});
<Img src={after}/><Img src={before} style={{position:'absolute',inset:0,clipPath:`inset(0 0 0 ${x}%)`}}/>

In CapCut

Put "after" over "before"; Mask → Linear (rotated 90°) on the top clip and keyframe its position across.

Ready-made components

Where this comes from

Use when

Not for

Install

Example output

https://s3.varg.ai/how-to/previews/5eef833a12e2/take-before-after-ui-wipe.mp4 — The Before After Wipe component rendered as installed (npx hyperframes add before-after-wipe), defaults only (credit: Rendered by varg · HyperFrames Before After Wipe, https://hyperframes.heygen.com/catalog/components/before-after-wipe)

More UI walkthroughs skills

Run the generation on varg

varg is one API key for the models these skills drive — Seedance 2.5, Kling 4, Veo 3.1, Wan 3, Nano Banana 2.1, GPT Image 2.5, ElevenLabs v4 and 200+ more — billed in credits, with a cost estimate before anything runs.