Motion card animation with Claude Code
Motion card animation, frosted glass cards that build one idea at a time, each with a single word picked out in marker, is something Claude Code can make. Claude writes every card as HTML and CSS with GSAP motion, and HyperFrames renders the film to MP4 on your computer. No video model is involved.
ReelStyles sells this look as a ready kit called Motion Cards. Below you find the rules that make the look, the steps in Claude Code, a vertical prompt and the styles that come closest.
What makes the motion cards look
The stage is one deep blue canvas, #06080E, with a slow aqua bloom drifting behind everything. On it sit frosted glass cards with a hairline highlight, a soft shadow and sometimes a glowing rim. One scene holds one card and one focal point.
Colour has jobs. Ion blue #2FD3F2 marks the subject: glow words, rings, rims and badges. Amber #FFC247 is the marker box that wipes in behind the one word that matters, and it also marks a winner. Coral #FF6B5B is only for cost or bad news. Allow one amber thing per scene so the eye knows where to land.
The card kinds are fixed: section, stat, tiles, bars, versus, flow, steps and quote. You feed each one data, such as a number, a list of tiles or two sides of a comparison, and the card lays itself out. Titles run at most eight words per line and are not narration.
Motion never stops. Cards rise 40 to 90 px with a blur that pulls sharp, then breathe with a few pixels of float and a sheen that crosses the glass every few seconds. Numbers count up and settle. The camera pushes slowly from 1.02 to about 1.075 and alternates direction each scene.
Type is Inter for titles and numbers and JetBrains Mono for small labels, and nothing is smaller than 28 px at 1080p. Scenes last 2.5 to 5 seconds, and the card kind changes every scene.
Steps in Claude Code
1. Plan first
Ask for the scene list before any code:
Plan a 30-second explainer about three habits of a calm on-call week. One card per scene: a hook with one marker word, a stat, a bars comparison, a three-step plan, a takeaway. List the exact text and numbers for each card. Show me the plan before you write any code.
2. Build one scene and look at stills
npx hyperframes lint . npx hyperframes snapshot . --at 1,3,6,9 -o snapshots
snapshot saves PNG frames at the seconds you list. Check that the amber marker sits on one word only, that no text is cramped, and that two neighbouring scenes use different card kinds.
3. Render
npx hyperframes render . -o out.mp4 --quality looks --workers 2
Use --quality draft for a quick look at the motion. For narration, read how to add a voiceover to a Claude Code video.
A prompt to paste
Make a 30-second 9:16 vertical motion card animation: three habits of a calm on-call week. Dark glass cards on a deep blue stage with a drifting aqua bloom. Scene 1 a section card with the word "calm" in an amber marker box. Scene 2 a stat card with one hero number. Scene 3 a bars card. Scene 4 a three-step flow. Scene 5 a closing takeaway. Ion blue for the subject, amber only for the winner. Cards breathe, the camera drifts, 3 seconds per scene. Plan first, then show stills of scene 1.
For a different story, swap the topic for "four numbers behind a healthy launch" and use four stat cards with a versus card in the middle.
Which styles come closest
If you like cards that build one idea at a time, these are the nearest neighbours:
| Style | Why it fits |
|---|---|
| Motion Cards | The direct version: glass cards, amber marker, drifting camera |
| Slide explainer | Slide-like beats, one idea per screen |
| Datastorytelling | Charts and numbers as the main character |
| SwissMotion | Clean grid layouts with bold type |
They all come in one ReelStyles purchase, and you can try 10 styles free first.
What this method cannot do
Cards show ideas, data and short phrases. They cannot show a person talking or real footage. The look also depends on short strings, so long sentences get shrunk until they pass the 28 px floor, and a card with too much text loses its calm.
Questions
Does it work for Shorts?
The example film that ships with the kit is wide, 16:9. A 9:16 version works when you ask for it in the prompt, as above, and keep titles short. See YouTube Shorts in 9:16 with Claude Code.
Do I have to design the cards?
You don't. The card kinds are ready, and Claude fills them with your data. You edit text and numbers.
Can I change the colours?
Yes. Each scene can switch the backdrop bloom between violet, amber and coral. The ion and amber roles should stay the same through the film.
Sources
HyperFrames on GitHub (Apache-2.0). See the Motion Cards style page for the example film.