With Svg Animation

Surfaces the SVG animation traps that go unmentioned when a request sounds simple — dash patterns restarting at every subpath, pathLength normalization, transform-box on inner elements. Use whenever animating an SVG (draw-on, hover spin or scale, path morph, clip reveal, scroll-linked draw), including when the request names none of these and sounds like a one-liner, and when choosing between CSS, SMIL, WAAPI, GSAP, or a morph library. Don't use for raster or canvas animation (see with-canvas) or for non-SVG DOM transitions.

robcsaszar c72e8b7 2 files · 15.6 KB Updated

File contents

robcsaszar/frontend-kit/tree/main/skills/with-svg-animation commit c72e8b746b

Frequently asked questions

npx skillmds@latest add robcsaszar/with-svg-animation