Before/After UI Wipe — effect skill for UI walkthroughs
For AI agents: find the right skill in one call —
curl -s "https://skills.varg.ai/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://skills.varg.ai/llms.txt. Every page has a markdown twin: add.mdto 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.
- Type: Effect · UI walkthroughs
- Slug:
before-after-ui-wipe - Status: live
- Publisher: HeyGen (community)
- License: Apache-2.0
- Source: https://github.com/heygen-com/hyperframes/tree/main/registry/components/before-after-wipe
- Works in: Claude Code, Claude.ai, Codex, Cursor, OpenClaw, Gemini CLI, Any MCP client, varg Studio
- Requires: ffmpeg, HyperFrames (npx hyperframes), Remotion, CapCut (by hand)
- Cost: Free — the take renders locally; generated footage, if any, bills by the model
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
- Before After Wipe (hyperframes): npx hyperframes add before-after-wipe
- Comparison Split (hyperframes): npx hyperframes add comparison-split
- Page Slide (hyperframes): npx hyperframes add page-slide
Where this comes from
- FFmpeg filters documentation (timeline enable, drawtext, zoompan, overlay)
- Bohdan Motion: Secureframe launch video, one pain per scene
Use when
- Redesigns, AI clean-ups, automation (messy spreadsheet → clean report).
Not for
- Do not compare screenshots that are not pixel-aligned; any shift makes the wipe look broken.
Install
- Claude Code:
claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg - Codex:
npx skills add vargHQ/skills --skill varg-video-edit-library -a codex -y - Cursor:
npx skills add vargHQ/skills --skill varg-video-edit-library -a cursor -y
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
- Zoom to the Action: The full app establishes, then the camera pushes 1.5–2× into the part being used and eases back out.
- 3D Tilted Dashboard Reveal: The dashboard rises from a steep 3D tilt to flat, like a screen lifting toward the viewer.
- Floating UI Panels in Depth: The interface splits into its panels, which float apart in depth with parallax, then snap back.
- UI Builds Itself Piece by Piece: Grey skeleton blocks pulse once, then real cards, charts and text fill in with a stagger.
- Card Expands Into Detail: A small card grows into a full detail panel in one continuous shape change.
- Filmed Off a Monitor: The UI looks filmed on a real display: slight perspective, focus falloff and glare.
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.
- Claude Code:
claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg(skill + hosted MCP) - Codex, Cursor, Gemini CLI, OpenClaw:
npx skills add vargHQ/skills --skill varg-ai -a <agent> -y - Grok and any agent that reads SKILL.md:
npx skills add vargHQ/skills --skill varg-ai, or point it at the skill's SKILL.md - Claude.ai, ChatGPT, any MCP client: connect
https://mcp.varg.ai/mcp - API key: https://varg.ai/dashboard/api · Model specs: https://varg.ai/models/llms.txt