Phone Frame with Live Screen — 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.mdto its path. Before generating anything, show the person the options on the how-to page.
A screen recording plays edge to edge inside a realistic phone frame with Dynamic Island.
- Type: Effect · Device mockups
- Slug:
phone-frame-live-screen - Status: live
- Publisher: Magic UI (community)
- License: MIT
- Source: https://github.com/magicuidesign/magicui/blob/main/apps/www/registry/magicui/iphone.tsx
- 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 by magic-ui, MIT. The write-up and recipes below are varg's.
Dark or titanium frame, accurate corner radius, the recording fills the screen; the phone sits slightly off-center with a shadow.
When: Mobile app demos and vertical recordings shown in a 16:9 film.
Watch out: Do not letterbox the recording inside the phone; crop it to the screen's exact aspect.
Timing: Phone rise 0.6–0.8 s, expo.out; keep it still while the screen content plays.
Also called: iPhone mockup, phone frame, mobile mockup
In HyperFrames
npx hyperframes add device-frame-stage
Screen slot accepts a <video>; animate the frame wrapper, not the video.
In Remotion
// npx shadcn@latest add @magicui/iphone
<Iphone videoSrc={staticFile('app.mp4')} />
In CapCut
Stickers/Overlay: add a transparent iPhone frame PNG above the recording; scale the recording to fit the screen and apply a rounded Mask.
Ready-made components
- iPhone (magic-ui): npx shadcn@latest add @magicui/iphone
- Device Frame Stage (hyperframes): npx hyperframes add device-frame-stage
Where this comes from
Use when
- Mobile app demos and vertical recordings shown in a 16:9 film.
Not for
- Do not letterbox the recording inside the phone; crop it to the screen's exact aspect.
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/691a756f7871/lib-magic-ui-iphone.mp4 — Preview of the iPhone component that builds this take (credit: Captured from the library’s own demo page (Magic UI), https://magicui.design/docs/components/iphone)
More device mockups skills
- Browser Window Frame: The web app plays inside a clean browser window with traffic lights and a URL bar on a soft backdrop.
- Laptop Lid Opens to Screen: A laptop lid tilts open and the screen content lifts toward the viewer, then becomes the full frame.
- 3D Phone Turn: A real 3D phone model turns in space with the app playing on its screen, then faces the camera.
- Phone, Tablet and Laptop Splay: Phone, tablet and laptop fan out from one stack into a proud row, each showing the same product.
- Push Through the Screen: A phone rises into view, then the camera pushes through its screen into the full-frame UI.
- Foldable Two-Screen Reveal: A foldable phone opens to show two screens side by side — before and after, or app and result.
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