Skip to main content
skill CX Codex

svg-animations — Claude Code skill: what it does, how to install

Instructs the assistant to write clean animated SVGs using CSS and SMIL. Helpful when building custom icons, loading spinners, and logo animations.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add supermemoryai/skills --skill svg-animations -a claude-code
Open on GitHub

What svg-animations does

This skill guides coding assistants to produce handcrafted vector graphics without bloated markup. It covers coordinate mapping via viewBox, geometric primitives, and path drawing commands from Bézier curves to elliptical arcs. It also details the setup for linear gradients, masks, and blur filters.

The instructions break down two animation methods: CSS keyframes and native SMIL markup. CSS handles line-drawing strokes with stroke-dasharray and path transitions. Native SMIL tags like <animate> and <animateMotion> take over when rendering SVGs inside <img> tags or CSS background rules, where external scripts cannot run.

Morphing paths via CSS requires strict consistency. Both the starting and ending paths must share identical command counts and types for browser interpolation to succeed.

What it helps with

  • build animated SVG loading indicators with pure CSS
  • create stroke-drawing line animations for vector icons
  • move graphics along custom paths with native SMIL
  • configure shape morphing via the CSS d property

Example prompts for the agent

  • Create an SVG loading spinner with a CSS pulse animation
  • Generate a checkmark icon that animates its stroke on display
  • Build an animated icon that morphs between two shapes on hover

How to install svg-animations

1Skills CLI (Vercel)

npx skills add supermemoryai/skills --skill svg-animations -a claude-code

2Manually: put the files in place

~/.claude/skills/svg-animations/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/svg-animations/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about svg-animations

How to install svg-animations in Claude Code?

Run npx skills add supermemoryai/skills --skill svg-animations -a claude-code in your terminal. This writes the skill to your Claude Code setup.

What does the svg-animations skill do?

It teaches the agent to handcraft scalable vector graphics, line-drawing effects, and icon motions. It prioritizes direct SVG primitives alongside CSS or SMIL instead of external animation tools.

When should you pick SMIL over CSS animations?

Use SMIL markup when the SVG is embedded via an <img> element or as a CSS background. Browsers ignore external CSS and JavaScript in those contexts.

Similar skills

Everything for Frontend and UI →

From the same set3

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor