Claude SVG Animation: SMIL, CSS, GSAP and MP4 Routes

Yes. Claude animates SVG by writing code: SMIL or CSS inside the file, a GSAP timeline for choreography, or a Remotion or HyperFrames scene when you need MP4. Checked 2 December 2026, the motif archive holds 134 videos whose title, post or prompt names SVG, from 117 creators, and the svg-animations skill shows 3.1K installs.

Yapay zekâ destekli yazım: Bu rehberin taslağı Claude Opus 5.5 ile hazırlandı ve her bilgi kaynaklarına bağlanıyor.

Can Claude animate an SVG?

Yes, as code. Claude writes the SVG markup and its motion together: SMIL elements such as animate inside the file, CSS keyframes when the SVG sits inline in a page, or a GSAP timeline for multi-step choreography. For a video file, Claude Code renders the same drawing through Remotion or HyperFrames. Claude Motion, the artifact type for animations, exports MP4 only (Claude Help Center).

Which SVG animation method should you ask for?

Four ways Claude can animate an SVG, checked 2026-12-02
MethodHow it worksBest forWatch out for
SMIL inside the SVGanimate, animateTransform and animateMotion elements live in the file itself (MDN)Icons, loaders and logos loaded as an image or CSS background, where the page's CSS and JavaScript cannot reach the SVGAdd fill="freeze" to keep the end state; without it the element snaps back (svg-animations skill)
CSS keyframesClaude styles the inline SVG's paths and groups with @keyframes, often stroke-dasharray and stroke-dashoffset for a draw-onWebsite headers, hover states and hero illustrations that sit in the pageSVG transforms start at the 0,0 origin, so ask for transform-origin; animating transform and opacity is cheap, animating d or points repaints (svg-animations skill)
GSAP timelineA JavaScript timeline sequences many parts; DrawSVG draws strokes and MorphSVG turns one shape into anotherMulti-step reveals, character rigs, scroll-linked scenesGSAP is 100% free, plugins included (GSAP pricing); 3.15.1 is the stable npm release and 4.0.0-beta.5 (30 November 2026) is a beta
MP4 renderClaude Code places the SVG in a Remotion or HyperFrames composition and renders frames to videoSocial posts, launch films, anything that must play as a fileIn Remotion, drive a paused GSAP timeline from the current frame, not from requestAnimationFrame (svg-character-animation skill)

For an app, Lottie JSON is often the better target than SVG: see Lottie with Claude. For a brand mark, Claude logo animation covers draw-on, mask wipe and morph timings.

Which skills package SVG animation for Claude Code?

SVG animation skills and servers, checked 2026-12-02 (GitHub API, skills.sh, each SKILL.md or README)
Skill or serverWhat its file says it doesLicence and sizeInstall
svg-animations (supermemoryai/skills)Hand-made SVG animations and illustrations: SMIL, CSS-driven animation, path drawing, shape morphing, motion paths, gradients, masks and filtersNo licence detected by GitHub; repository 118 stars; 3.1K installs on skills.shnpx skills add https://github.com/supermemoryai/skills --skill svg-animations
svg-character-animation (calesthio/OpenMontage)Animates character rigs built from SVG parts with GSAP, CSS transforms, Remotion frame control and HyperFrames-compatible previewsThe SKILL.md says MIT; the OpenMontage repository is AGPL-3.0, 85,039 starsShips inside the OpenMontage repository; see its README
chanmeng-svg-animation-studioTurns a project into an animated promo card for a GitHub README: one SVG file, not a GIF or a screen recording; 44 primitives, 5 skills and 3 subagentsMIT; 6 starsnpx skills add ChanMeng666/chanmeng-svg-animation-studio, or its Claude Code plugin marketplace
nakkas (MCP server)One render_svg tool takes a JSON config and returns an animated SVG plus a PNG preview, so the model can check and revise; output uses CSS keyframes and SMIL, no JavaScriptMIT; 32 stars; last push 14 July 2026Add it to Claude Desktop's config file, as its README shows
pixel2motion (vibe-motion/skills)Traces a PNG, JPG, WebP or screenshot logo into a clean SVG, then animates it as standalone HTML using Disney's 12 animation principlesNo licence detected by GitHub; 2,295 starsSee the repository README

How do you prompt Claude for an SVG animation?

  1. Say where it will play: inline in a page, as an image, in a GitHub README or as an MP4. That choice decides between CSS, SMIL and a render.
  2. Ask for a viewBox and named groups with ids, so each part can be targeted and the drawing scales to any size.
  3. Ask Claude to animate transform and opacity and to set transform-origin on each moving part; the svg-animations skill flags both as the usual failure points.
  4. Ask for a prefers-reduced-motion version that shows the finished drawing without movement (MDN).
  5. Open the file in a browser and change one effect at a time; when something breaks, name the element and the second where it goes wrong.

Prompt: a draw-on line icon (written by motif)

Make one HTML file with an inline SVG, viewBox 0 0 120 120, of a paper plane drawn as a single stroked path with the id plane. Animate it with CSS keyframes only: draw the stroke on over 1.2 seconds with stroke-dasharray and stroke-dashoffset, then lift the plane 8 units with a transform and fade it to 0.6 opacity. Set transform-origin on the moving group. Add a prefers-reduced-motion rule that shows the finished drawing with no movement.

Prompt: the pelican on a bicycle test

"Generate an SVG of a pelican riding a bicycle" is Simon Willison's informal benchmark for language models; 163 posts on his blog carry the tag (simonwillison.net, checked 2026-12-02). Creators testing new Claude models often asked for it animated instead: YouWare's Opus 5.5 run used "Generate an SVG animation of a pelican riding a bicycle", and 27 records in the motif archive mention a pelican.

What does the archive show?

134 videos in the motif archive name SVG in their title, post or prompt (120 in the title or post, 39 in the prompt), from 117 creators, posted between 28 March 2025 and 1 December 2026. Creators credit Claude Opus 5.5 on 82 of them and name no model on 37. 49 include the creator's prompt. Most are not SVG-only: many prompts list SVG beside HTML, CSS and canvas as allowed tools.

How do you turn an SVG animation into MP4 or GIF?

Render it. Claude Code can place the SVG in a HyperFrames composition (plain HTML, Apache 2.0) or a Remotion one (React) and render MP4 locally; HTML animation to MP4 walks through both, and Motion, Remotion or HyperFrames compares them. On 4 December 2026 the latest releases were HyperFrames v0.10.14 and Remotion v4.0.548 (HyperFrames releases, Remotion releases). In claude.ai, Claude Motion exports MP4 on Team and Enterprise plans.

Is SMIL or CSS better for an animated SVG?

It depends on where the file plays. SMIL lives inside the SVG, so it still runs when the SVG is loaded as an image, where the page's CSS and JavaScript cannot reach it. CSS suits an SVG inlined in the page that should move with the rest of the layout (svg-animations skill).

Can Claude Motion export an SVG file?

No. Its guide documents one download format: click Export and choose MP4 (Claude Help Center). For an SVG file, ask Claude in a chat or in Claude Code.

Are GSAP's DrawSVG and MorphSVG plugins free?

Yes. GSAP says it is 100% free for all users, thanks to Webflow's support (GSAP pricing), and its repository describes it as free including every plugin (GSAP on GitHub).

Why does my SVG rotate around the wrong point?

SVG transforms start from the drawing's 0,0 origin, not the element's centre, so set transform-origin in CSS; the svg-animations skill lists this as a rule. With GSAP, the OpenMontage skill sets svgOrigin for a stable pivot (svg-character-animation).

Can Claude turn a PNG logo into an animated SVG?

Yes, by tracing it first. Pixel2Motion traces a PNG, JPG, WebP or screenshot into a clean SVG and then animates it (vibe-motion/skills). Timings and techniques for marks are in Claude logo animation.

How many Claude SVG animations are in the motif archive?

134 videos from 117 creators name SVG in their title, post or prompt, and 49 of them include the creator's prompt (catalogue of 2 December 2026). Browse more in motion design and the prompt library.

Kaynaklar

  1. supermemoryai/skills: svg-animations SKILL.md
  2. skills.sh: svg-animations listing (install count)
  3. calesthio/OpenMontage: svg-character-animation SKILL.md
  4. ChanMeng666/chanmeng-svg-animation-studio (MIT)
  5. arikusi/nakkas: MCP server for animated SVG (MIT)
  6. vibe-motion/skills: pixel2motion
  7. SVGator: official MCP (vendor page)
  8. GSAP pricing: 100% free
  9. GSAP on GitHub
  10. GSAP docs: DrawSVGPlugin
  11. GSAP docs: MorphSVGPlugin
  12. MDN: the SVG animate element
  13. MDN: prefers-reduced-motion
  14. Claude Help Center: Get started with Claude Motion
  15. Simon Willison: pelican-riding-a-bicycle tag
  16. HyperFrames releases
  17. Remotion releases
  18. motif: the archive in numbers
Tüm rehberler