Motion graphics with Claude Code: lower thirds to MP4
You can make motion graphics with Claude Code by asking for the graphic in plain words, letting Claude write it as code, and rendering it to MP4. A lower third, a line of kinetic text and an animated bar chart each take one prompt. HyperFrames renders HTML to video for free, and Tween does the same for Remotion. A ReelStyles kit gives the result a designed look, so it does not default to white text on a dark box.
I sell ReelStyles. The tool facts below come from the tools' own pages, opened on 2 December 2026.
What you need
- Claude Code
- Node.js 22.19 or newer and FFmpeg for HyperFrames (Node.js 18 or newer for Tween)
- About 15 minutes
Install the HyperFrames skills once:
npx skills add heygen-com/hyperframes npx hyperframes doctor
Graphic 1: a lower third
A lower third is a name bar that slides in at the bottom of the frame. Ask for it exactly:
Make a 5-second lower third, 1920 by 1080, transparent background. Name: "Dana Reyes". Title line: "Head of Research". The bar slides in from the left in 0.5 seconds, holds, and slides out at 4.5 seconds. Show a still at 2 seconds first.
Claude builds a page with two text lines and a GSAP timeline. Check the still, ask for changes, then render a file that keeps the alpha channel:
npx hyperframes render --format webm --output lowerthird.webm
HyperFrames' docs say WebM and MOV carry transparency. In your video editor, place the WebM above your footage.
With Tween, the equivalent is /tween-template lowerthird "Dana Reyes, Head of Research" and then /tween-render with the transparent option. Tween is an MIT Claude Code plugin on Remotion with 16 templates. Install it with /plugin marketplace add Zekennn/tween and /plugin install tween@tween.
Graphic 2: kinetic text
Kinetic text moves words in time with a line. Say what each word does:
Make a 6-second vertical kinetic text scene, 1080 by 1920. Text: "Ship it before Friday". One word at a time, each word scales up from 80% with a small overshoot and the previous word fades. Dark background, one accent colour.
The core of the code is a staggered tween:
const tl = gsap.timeline({ paused: true });
tl.from(".word", { opacity: 0, scale: 0.8, y: 30, duration: 0.4,
stagger: 0.7, ease: "back.out(2)" }, 0.3);
window.__timelines = window.__timelines || {};
window.__timelines.kinetic = tl;
Render with npx hyperframes render --output kinetic.mp4. The look of the style is its own topic, and Kinetic type is a kit built for it.
Graphic 3: an animated chart
Make a 10-second bar chart video, 1920 by 1080. Four bars: Q1 12, Q2 18, Q3 15, Q4 27. Bars grow from zero one after another with a count-up label on top. Title: "Revenue by quarter". Use only the numbers I gave you.
Say "use only the numbers I gave you". Code-rendered charts show exactly the values you typed, which is the main reason to prefer them to a video model for data. The HyperFrames page for HTML lists D3 among what it can render. The Data viz kit is a chart-first style.
Default output against kit output
The images below come from the ReelStyles home page. Claude Code got the same one-sentence brief twice (a courier on a scooter in a rainy neon city). The first take is on the left in the site's comparison, with no kit. The second used the Cel anime 80s kit. Nothing was retouched.


Motion graphics show the same gap. Without a kit you get clean shapes in a safe palette. With a kit the type, colours, easing and cut rules are decided, so a set of graphics looks like one family. The Motion cards and Swiss motion kits do this for cards and type. The ReelStyles pricing page lists what the licence covers.
Common errors
- The edges of the lower third are not transparent. You rendered MP4. Use
--format webmormov. - Text is clipped on a phone. Ask Claude to keep text inside the safe area and check a still at 1080 by 1920.
- The count-up shows decimals. Tell Claude to round to whole numbers.
- The render waits at the start. The timeline id does not match
data-composition-id, or the timeline is not registered. - Tween will not render. First render downloads Remotion's headless browser, so allow some time and keep the connection on.
When to use After Effects instead
Code-rendered graphics handle text, shapes, charts and type well. Camera tracking, character rigs and real-footage compositing are better in a motion design tool. Use both: render a transparent lower third from code and finish in your editor.
Questions
Can Claude Code make motion graphics with a transparent background?
Yes. HyperFrames lists WebM and MOV as formats that keep transparency, and Tween has a transparent export option.
Are the graphics editable after the render?
The MP4 is not. The source page is. Ask Claude to change a line and render again.
Is it free?
HyperFrames is Apache-2.0 with no per-render fee. Tween is MIT, and Remotion's licence is free for individuals and companies up to 3 people. You still need a Claude plan.
Sources
- heygen-com/hyperframes (checked 2 December 2026)
- HyperFrames CLI reference (checked 2 December 2026)
- HyperFrames HTML to video (checked 2 December 2026)
- Zekennn/tween (checked 2 December 2026)
- Remotion licence and pricing (checked 2 December 2026)