compare / vs motionmeasured 2026-08-1414 rows

svg-scroll-draw vs Motion

Motion is the successor to Framer Motion and a genuinely excellent general animation engine — springs, gestures, layout animations, timelines. This is not that. This library does one axis, scroll, and does the scroll-specific things Motion leaves to you: SVG path drawing, pinning, snapping, text splitting and video scrubbing. The size gap follows from the scope gap: 11.9 KB against 45.2 KB for Motion’s single bundle.

24 live examples →
svg-scroll-draw
11.9 KB
Motion
45.2 KB
Only here
5 of 14
Only Motion
3 of 14
01size

What each figure measures

Motion’s figure is its single bundle, which is the fairest like-for-like against our main entry — but tree-shaking helps Motion more than it helps us, because we already split every API into its own entry point.

itemPackageVersionLicenceLast publishgzip
01svg-scroll-drawVersion2.31.0LicenceMITpublished2026-08-1411.9 KB
02motionVersion13.1.0LicenceMITpublished2026-08-1045.2 KB

Minified + gzipped at level 9, measured 2026-08-14 against motion 13.1.0 and svg-scroll-draw 2.31.0. motion is MIT.

motion: npm pack motion@13.1.0 && gzip -9 package/dist/motion.js — The single dist bundle. Motion is the successor package to framer-motion and shares its version line; a tree-shaken import of just the scroll helpers is far smaller than this figure.

0214 rows

Feature matrix

Σboth 1only here 5only Motion 3
#Featuresvg-scroll-drawMotion
01Scroll-driven animationSupportedSupported
02SVG path drawMotion animates any attribute, so pathLength works — but there is no draw-specific API, stagger orchestration or presetSupportedPartial
03Pin / sticky sectionsSupportedNot supported
04Section snappingSupportedNot supported
05Text split + staggerNo splitText in the published bundle; you split the DOM yourselfSupportedNot supported
06Number countersanimate() on a value plus an onUpdate handler; no format helperSupportedPartial
07Video scrubSupportedNot supported
08Horizontal scroll sectionsSupportedNot supported
09Spring physicsWe ship createSpring for easing; Motion has a real physics model with velocity transferPartialSupported
10Gestures (drag, hover, tap)Motion’s gesture system has no equivalent here and is not something we intend to buildNot supportedSupported
11Layout / shared-element animationNot supportedSupported
12Enter/exit animationNot supportedSupported
13Native CSS fast pathMotion uses WAAPI where it can, which is close in spirit; ours compiles eligible draws to a CSS view-timeline with no per-frame JS at allSupportedPartial
14Bundle size (gzipped)Motion’s single dist bundle. A tree-shaken import of only its scroll helpers is considerably smaller.11.9 KB45.2 KB

Supported SupportedNot supported Not supportedPartial Partial or requires extra workChecked against motion 13.1.0.

03where motion wins

When Motion is the right call

  1. W1

    Everything that is not scroll

    Gestures, drag, layout animations, enter/exit, orchestrated variants. Motion is a complete animation system; this is a scroll library.

  2. W2

    Real spring physics

    Motion models velocity and mass properly, including handing velocity from a gesture into a spring. Our createSpring is a spring-shaped easing curve, not a physics engine.

  3. W3

    Tree-shaking makes the size gap smaller

    The 45.2 KB figure is the full bundle. Import only what you use and Motion is far lighter than that number suggests.

04questions

Questions

Q1

What is the difference between Motion and svg-scroll-draw?

Motion is a general animation engine covering gestures, layout, springs and enter/exit as well as scroll. svg-scroll-draw only does scroll, but covers scroll-specific work Motion does not — SVG path drawing with stagger, pinning, snapping, text splitting and video scrubbing — at 11.9 KB against 45.2 KB.

Q2

Is Motion the same as Framer Motion?

Motion is the successor package and shares the same version line; framer-motion remains the React-specific entry point. Both are MIT licensed and actively published.

Q3

Can I use both together?

Yes. They touch different properties and neither patches global scroll state, so using Motion for gestures and layout alongside this for scroll-driven work is a reasonable setup.

05Other comparisons

Other comparisons