Code Left, Live UI Right — effect skill for code & terminal

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 .md to its path. Before generating anything, show the person the options on the how-to page.

Code types on the left and the UI on the right snaps to match after each change.

What it does

Built on Live Code Compilation by Kapish Dima (remocn), MIT. The write-up and recipes below are varg's.

Two panes: editor and preview. Each typed edit triggers a quick flash/update on the preview side.

When: Frameworks, UI libraries, design-to-code and AI coding tools.

Watch out: Do not let the preview lag; the update should land within 0.2 s of the edit finishing.

Timing: Per edit: typing 0.8–1.5 s, preview update 0.2–0.3 s.

Also called: live preview, split code and result, HMR demo

In HyperFrames

npx hyperframes add code-typing

Two clips side by side; fire a 0.25 s tl.fromTo(preview,{opacity:0.4},{opacity:1}) and swap the preview image at each edit's end time.

In Remotion

// npx shadcn@latest add @remocn/live-code-compilation
// or @remocn/chat-to-preview-layout for chat on the left

In CapCut

Split screen: two clips side by side (Basic → Position); cut the preview clip at each edit point.

Ready-made components

Where this comes from

Use when

Not for

Install

Example output

https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-typing.mp4 — Preview of the Code Typing component that builds this take (credit: Code Typing · hyperframes, https://hyperframes.heygen.com/catalog/blocks/code-typing)

More code & terminal 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.