# Foldable Two-Screen Reveal — effect skill for device mockups

> **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 foldable phone opens to show two screens side by side — before and after, or app and result.

- **Type:** [Effect](https://varg.ai/how-to/effects.md) · [Device mockups](https://varg.ai/how-to/browse/skills/devices.md)
- **Slug:** `foldable-two-screen`
- **Status:** live
- **Publisher:** varg (varg, verified)
- **License:** MIT
- **Source:** https://github.com/vargHQ/code2video-templates/tree/main/iphone-duo-fold
- **Works in:** Claude Code, Claude.ai, Codex, Cursor, OpenClaw, Gemini CLI, Any MCP client, varg Studio
- **Requires:** 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 [iPhone Duo Fold](https://github.com/vargHQ/code2video-templates/tree/main/iphone-duo-fold) by varg (varg), MIT. The write-up and recipes below are varg's.

The device unfolds from closed to open; each half carries its own screen (image, recording or URL).

**When:** Two-sided stories: prompt and result, editor and preview, old and new.

**Watch out:** Do not put unrelated content on the halves; the fold should mean "these two belong together".

**Timing:** Unfold 0.8–1.2 s power2.inOut; hold 2 s.

**Also called:** foldable phone, duo screen, unfold reveal

### In HyperFrames

Use the varg template (HyperFrames-compatible screens): pass each half as an image, video, HTML page or URL.

### In Remotion

```bash
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/iphone-duo-fold && bun render.ts --screen app.png
```

### In CapCut

Not native; render the fold with the template and import it as a clip.

### Ready-made components

- [iPhone Duo Fold](https://skills.varg.ai/component/varg.iphone-duo-fold/) (varg): git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/iphone-duo-fold && bun render.ts --screen app.png

### Where this comes from

- [Rotato: 14 video mockup ideas and examples](https://rotato.app/blog/mockup-video-examples)

## Use when

- Two-sided stories: prompt and result, editor and preview, old and new.

## Not for

- Do not put unrelated content on the halves; the fold should mean "these two belong together".

## 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`

## More device mockups skills

- [Browser Window Frame](https://varg.ai/how-to/skills/browser-window-frame.md): The web app plays inside a clean browser window with traffic lights and a URL bar on a soft backdrop.
- [Phone Frame with Live Screen](https://varg.ai/how-to/skills/phone-frame-live-screen.md): A screen recording plays edge to edge inside a realistic phone frame with Dynamic Island.
- [Laptop Lid Opens to Screen](https://varg.ai/how-to/skills/laptop-lid-opens.md): A laptop lid tilts open and the screen content lifts toward the viewer, then becomes the full frame.
- [3D Phone Turn](https://varg.ai/how-to/skills/3d-phone-turn.md): A real 3D phone model turns in space with the app playing on its screen, then faces the camera.
- [Phone, Tablet and Laptop Splay](https://varg.ai/how-to/skills/multi-device-splay.md): Phone, tablet and laptop fan out from one stack into a proud row, each showing the same product.
- [Push Through the Screen](https://varg.ai/how-to/skills/push-through-the-screen.md): A phone rises into view, then the camera pushes through its screen into the full-frame UI.
