Create stunning motion graphics with code. GPU-accelerated rendering, declarative XML syntax, and real-time preview.
Hardware-accelerated rendering with blur, glow, and drop shadow effects.
Write animations in clean, readable syntax with split-file organization.
Built-in skill enables AI-assisted motion graphics creation.
Real-time preview updates as you edit. See changes instantly.
npm install -g @aifme/motion-climotion init my-animationcd my-animation && motion preview<motion version="1.0">
<project title="Hello World" />
<comp id="main" width="1920" height="1080"
duration="3" frameRate="60">
<solid id="bg" color="0.1,0.1,0.15,1">
<size>1920,1080</size>
</solid>
<text id="title"
text="Hello, Motion!"
fontSize="120"
fontFamily="Inter"
color="1,1,1,1">
<transform>
<position>
<keyframe time="0" value="960,600" />
<keyframe time="1" value="960,540"
easing="easeOutBack" />
</position>
<opacity>
<keyframe time="0" value="0" />
<keyframe time="0.5" value="100" />
</opacity>
</transform>
</text>
</comp>
</motion>Motion includes a built-in skill for Claude Code. Simply ask Claude to create motion graphics, and it will generate XML files following best practices.
# In Claude Code, just ask:
"Create a 10-second motion graphic introducing
our new product. Use blue and white colors,
smooth animations, and modern typography."motion init [dir]Initialize a new motion project
motion preview [input]Start live preview with hot reload
motion compile [input]Compile to unified MotionJSON
motion validate [input]Validate motion files