# Code Morph — block for code & terminal (remotion)

> **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 use case 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 use-case page.

A flat code editor that morphs between versions of a file, gliding each surviving token to its new line and column while removed code dissolves and new code fades in.

- **Install:** `npx shadcn@latest add @remocn/code-morph`
- **Registry:** remocn · **Framework:** remotion · **License:** MIT
- **Docs and preview:** https://remocn.dev/docs/ui-blocks/code-morph
- **Source:** https://remocn.dev/r/code-morph.json
- **Runs:** local render, free
- **Aspect:** 16:9 · 4.6 s

## Slots (what you fill in)

- `filename` (string)
- `theme` (string)
- `accentColor` (color)
- `morphDuration` (number)
- `fontSize` (number)
- `highlight` (boolean)
- `lineNumbers` (boolean)
- `windowDots` (boolean)

## Used in

- [Changelog & release notes](https://skills.varg.ai/video/changelog.md)
- [Pull request to video](https://skills.varg.ai/video/pr-video.md)
- [Code walkthrough](https://skills.varg.ai/video/code-walkthrough.md)
- [CLI & terminal demo](https://skills.varg.ai/video/terminal-demo.md)
- [AI chat & agent demo](https://skills.varg.ai/video/ai-demo.md)
- [API & docs explainer](https://skills.varg.ai/video/docs-explainer.md)
- [Live-coded music video](https://skills.varg.ai/video/live-code-music.md)

## More code & terminal

- [Code 3D Extrude](https://skills.varg.ai/component/hf.code-3d-extrude.md) — `npx hyperframes add code-3d-extrude`
- [Code Diff](https://skills.varg.ai/component/hf.code-diff.md) — `npx hyperframes add code-diff`
- [Code Highlight Sweep](https://skills.varg.ai/component/hf.code-highlight.md) — `npx hyperframes add code-highlight`
- [Code Morph](https://skills.varg.ai/component/hf.code-morph.md) — `npx hyperframes add code-morph`
- [Code Particle Assemble](https://skills.varg.ai/component/hf.code-particle-assemble.md) — `npx hyperframes add code-particle-assemble`
- [Code Scroll To Line](https://skills.varg.ai/component/hf.code-scroll.md) — `npx hyperframes add code-scroll`
