One style $9 · any 5 for $29 · all 140 styles $79 · Team $199One style $9 · any 5 $29 · all $79 →

← Blog

Animated SVG with Claude Code: logo draw-on to video

ReelStyles ·

Claude Code can write an animated SVG from a plain request such as "draw this logo on in four seconds". The reliable way is to animate the shapes with GSAP or CSS, and then render the page to MP4 with HyperFrames if you need a video file. SMIL, the animation built into SVG itself, plays in a browser. HyperFrames lists CSS, Web Animations and GSAP as supported, so I move SMIL onto a GSAP timeline before I render. ReelStyles kits use the same idea for whole films.

This guide builds a small animated logo and exports it. HyperFrames facts come from its docs, opened on 2 December 2026.

Pick the animation method

MethodPlays in a browserRenders to MP4 with HyperFrames
SMIL (<animate> tags)YesNot listed as supported; move it to GSAP
CSS keyframesYesListed as supported
GSAPYesListed as supported

For a web page that stays an SVG, any of the three works. For a video, use CSS or GSAP. Ask Claude for GSAP when you want precise timing and easing.

Step 1: ask for the SVG

Open Claude Code in an empty folder and use a prompt with the size, length and motion:

Make an SVG logo: a circle with a check mark inside, 600 by 600.
Animate it with GSAP: the circle draws on in 1.5 seconds, the check mark draws
on after it in 1 second, then the whole mark pops up slightly and settles.
Total length 4 seconds. Save as logo.html and show me a still at 3 seconds.

Name the length, the order and the easing. Vague prompts such as "make it cool" give you a fade.

Step 2: what the code looks like

This is a hand-written version of what Claude produces. The pathLength="1" attribute lets you animate the stroke from 1 to 0 without measuring the path.

<div id="stage" data-composition-id="logo" data-start="0"
     data-width="1080" data-height="1080" data-duration="4"
     style="background:#0f172a">
  <svg id="mark" viewBox="0 0 120 120" width="600" height="600"
       style="position:absolute;left:240px;top:240px" fill="none"
       stroke="#38bdf8" stroke-width="6" stroke-linecap="round">
    <circle id="ring" cx="60" cy="60" r="50" pathLength="1"
            stroke-dasharray="1" stroke-dashoffset="1"/>
    <path id="tick" d="M38 62 L54 78 L84 44" pathLength="1"
          stroke-dasharray="1" stroke-dashoffset="1"/>
  </svg>
  <script src="https://cdn.jsdelivr.net/npm/gsap@3/dist/gsap.min.js"></script>
  <script>
    const tl = gsap.timeline({ paused: true });
    tl.to("#ring", { strokeDashoffset: 0, duration: 1.5, ease: "power2.inOut" }, 0);
    tl.to("#tick", { strokeDashoffset: 0, duration: 1, ease: "power2.out" }, 1.5);
    tl.to("#mark", { scale: 1.08, duration: 0.3, transformOrigin: "50% 50%" }, 2.6)
      .to("#mark", { scale: 1, duration: 0.4, ease: "back.out(2)" }, 2.9);
    window.__timelines = window.__timelines || {};
    window.__timelines.logo = tl;
  </script>
</div>

The timeline is paused and registered under the composition id. HyperFrames seeks it frame by frame, which is why a plain screen recording is not needed.

Step 3: preview

Create a HyperFrames project and put the code in index.html:

npx hyperframes init my-logo
cd my-logo
npx hyperframes preview

You should see the ring draw, the tick follow and the mark settle. You can scrub the timeline in the browser editor.

Step 4: export as video

npx hyperframes lint
npx hyperframes render --output logo.mp4

HyperFrames can also write transparent files for placing the logo over footage:

npx hyperframes render --format webm --output logo.webm

WebM and MOV keep transparency. A looping GIF is --format gif.

Step 5: when the animation is SMIL

If Claude or a tool gave you <animate> tags, ask for a conversion:

Convert the SMIL animation in logo.svg to a paused GSAP timeline with the same
timing, and remove the <animate> tags.

HyperFrames' own page for SVG says to ask your agent to move other motion onto a GSAP timeline first.

Skills that help

animated-diagrams-skill by omkamal is a Claude Code skill (Apache-2.0) for animated diagrams. It builds one index.html with an SVG and a paused GSAP timeline, renders with HyperFrames and outputs MP4, GIF and a static SVG. It suits architecture and flow diagrams more than logos. The animated-diagram look also exists in the Architecture diagram kit.

For drawn pictograms and icons in motion, see Pictogram motion, and for the next step in this chain read SVG animation to MP4. The pricing page lists what the kits cost.

A frame from the Pictogram motion example film

Common errors

Questions

Can Claude Code make an animated logo from my existing SVG?

Yes. Paste or point to the SVG file, then name the length and the motion. Claude adds ids to the shapes and builds the timeline.

Is an animated SVG the same as a video?

No. An animated SVG is a vector file that plays in a browser. A video is a fixed sequence of frames. Export a video when the place you post to does not play SVG.

Does GSAP cost anything?

The omkamal skill lists GSAP's free standard licence for its bundled GSAP. Check GSAP's own licence for your use.

Sources

See all 140 styles and the price