comparison / svg-scroll-draw vs gsapmeasured 2026-08-14

GSAP ScrollTrigger alternative, 4.0× smaller, MIT

GSAP is free since 2025 — every plugin — and it does more than we do. This page isn't about price. It's that for scroll work alone you ship 47.5 KB and an API surface you’ll use a fraction of.

svg-scroll-draw
11.9 KB
GSAP stack
47.5 KB
Smaller by
4.0×
Core + ST alone
3.8×

Sizes measured 2026-08-14, gzip -9. 4.0× vs GSAP + ScrollTrigger + DrawSVG; 3.8× vs core + ScrollTrigger alone.

Measuresvg-scroll-draw2.31.0GSAP3.15.0
Size, min + gzip11.9 KB, every API47.5 KB with DrawSVG · 45.3 KB core + ScrollTrigger
LicenseMITGreenSock Standard (free of charge)
Native CSS scroll-timelineYes, when eligible — Chrome/Edge 115+, Safari 26+, Firefox 159+No — runs in JavaScript
Runtime dependencies00
Runtime costMeasured per scenario in the benchmarkMeasured per scenario in the benchmark
SSR (Next.js, Nuxt)Safe to import; no-op on the serverSafe to import; create triggers client-side
Timelines, MorphSVG, FlipNoYes — all free since 2025
fig. 1 — at a glance · ✓ where one side is clearly ahead
01weigh-in

Bundle size.

The same scroll job, weighed. GSAP's stack is built up one plugin at a time — each row inks only what that plugin adds, on top of the pencil it already carries. The dashed rule is svg-scroll-draw with every API loaded.

svg-scroll-drawyours2.31.0 · every API11.9 KB
GSAP coregsap 3.15.027.7 KB
+ ScrollTriggerCommon setupGSAP + ScrollTrigger · +17.6 KB45.3 KB
+ DrawSVGPluginSame job as us+2.2 KB47.5 KB
+ SplitTextFull suite+3.6 KB51.1 KB
Same job, differenceΔ 35.6 KB
fig. 2 — the weigh-in, to scale · 4.0× the bytes for the same job

All sizes minified + gzipped at level 9, measured 2026-08-14 against gsap 3.15.0, svg-scroll-draw 2.31.0 — measured, not estimated. SplitText is free to use as of 2025; it still costs you the bytes.

Bytes are what you download. What the main thread pays while the page scrolls is a separate question, measured scenario by scenario in the GSAP vs svg-scroll-draw benchmark, with every result GSAP wins left in.

02license

License.

N.B.

Worth saying plainly: GSAP is free. Webflow acquired GreenSock and in 2025 released the entire toolset — including SplitText, DrawSVG, MorphSVG and every other former Club GreenSock plugin — at no charge. If you read an older comparison claiming you need a ~$150/yr subscription, that is out of date, and this page used to be one of them. Cost is not a reason to choose svg-scroll-draw. The remaining license difference is narrow but real, and it only matters if you redistribute.

svg-scroll-drawMIT
  • Free for personal use
  • Free for commercial use
  • Free forever — no subscription
  • All features included
  • No attribution required
  • Fork, modify, redistribute freely
GSAPGreenSock Standard — free
  • Free for personal use
  • Free for commercial use
  • All plugins free since 2025 — no subscription
  • SplitText, DrawSVG, MorphSVG all included
  • Cannot be redistributed inside a competing tool or SDK
  • Not OSI open source — terms set by the vendor
0321 rows

Feature matrix.

refFeaturesvg-scroll-drawGSAP
Animate any CSS property on scroll
SVG path draw (stroke-dashoffset)
Animated number counters
Text split + staggerGSAP SplitText — free since 2025, 3.6 KB, and needs GSAP core to animate
Video scrub on scroll
Pin / sticky sections
Section snapping
onEnter / onLeave / onEnterBack / onLeaveBack
Honours prefers-reduced-motion by defaultDefault-on for scrollDraw, scrollAnimate, scrollReveal, scrollCounter, scrollText, scrollVideo, scrollSnap and Cinematic — but scrollHorizontal opts out by design and scrollPin/scrollProgress have no path. GSAP ships gsap.matchMedia(), but you write the reduced-motion variant of each animation yourself.
Native CSS scroll-driven animationGSAP always runs JS
Parallax
Path morphing on scroll
Waypoints (fire at progress %)
Spring / bounce / elastic easings
React / Vue / Svelte / Solid wrappersGSAP has basic React helpers, not full wrappers
Angular / Astro / Nuxt wrappers
Zero runtime dependenciesGSAP also declares no runtime dependencies — verified from its package.json. The difference is total weight, not dependency count.
MIT license (fork / redistribute freely)GSAP is free to use, but its standard license restricts redistribution inside a competing product or SDK
Visual DevTools overlayGSAP ships GSDevTools.js in the public tarball (free since 2025). Ours is scroll-specific and dev-only; theirs is a timeline scrubber.
Works with Lenis smooth scrollLenis 1.x moves the real scroll position, so both read it with no adapter
Bundle size (minified + gzipped)gsap 3.15.0: core 27.7 + ScrollTrigger 17.6 + DrawSVG 2.2 — the equivalent stack, measured 2026-08-1411.9 KB47.5 KB

Supported Not supported Partial or extra setupGSAP figures reflect the free-for-everyone toolset Webflow shipped in 2025 — all former Club GreenSock plugins included.

045 tasks

Side-by-side API.

4.1

Fade + slide in on scroll

GSAP + ScrollTrigger

gsap.js11 lines
gsap.from('#card', {
  opacity:  0,
  y:        40,
  ease:     'power2.out',
  scrollTrigger: {
    trigger: '#card',
    start:   'top 80%',
    end:     'top 40%',
    scrub:   true,
  },
});

svg-scroll-draw

app.js18 lines
import { scrollAnimate }
  from 'svg-scroll-draw';

scrollAnimate('#card', {
  props: {
    opacity:   [0, 1],
    transform: [
      'translateY(40px)',
      'translateY(0)',
    ],
  },
  easing:  'ease-out',
  trigger: {
    start: 'top 80%',
    end:   'top 40%',
  },
  once: true,
});
4.2

Pin / sticky section

GSAP + ScrollTrigger

gsap.js9 lines
ScrollTrigger.create({
  trigger:     '#panel',
  start:       'top top',
  end:         '+=800',
  pin:         true,
  pinSpacing:  true,
  onEnter:     () => console.log('enter'),
  onLeave:     () => console.log('leave'),
});

svg-scroll-draw

app.js10 lines
import { scrollPin }
  from 'svg-scroll-draw/pin';

scrollPin('#panel', {
  pinDistance: 800,
  onEnter:  () => console.log('enter'),
  onLeave:  () => console.log('leave'),
  onEnterBack: () =>
    console.log('enter back'),
});
4.3

onEnter / onLeave callbacks

GSAP + ScrollTrigger

gsap.js9 lines
ScrollTrigger.create({
  trigger: '#section',
  start:   'top center',
  end:     'bottom center',
  onEnter:     () => activate(),
  onLeave:     () => deactivate(),
  onEnterBack: () => activate(),
  onLeaveBack: () => deactivate(),
});

svg-scroll-draw

app.js14 lines
import { scrollAnimate }
  from 'svg-scroll-draw';

scrollAnimate('#section', {
  props: { opacity: [0.5, 1] },
  trigger: {
    start: 'top center',
    end:   'bottom center',
  },
  onEnter:     () => activate(),
  onLeave:     () => deactivate(),
  onEnterBack: () => activate(),
  onLeaveBack: () => deactivate(),
});
4.4

Section snapping

GSAP + ScrollTrigger

gsap.js8 lines
ScrollTrigger.create({
  snap: {
    snapTo:   'labels',
    duration: { min: 0.2, max: 0.8 },
    delay:    0.1,
    ease:     'power1.inOut',
  },
});

svg-scroll-draw

app.js10 lines
import { scrollSnap }
  from 'svg-scroll-draw/snap';

scrollSnap('.section', {
  duration:  600,
  easing:    'ease-in-out',
  threshold: 0.3,
  onSnap: (index) =>
    console.log('snapped to', index),
});
4.5

Text split + stagger

GSAP = +3.6 KB, needs core

GSAP SplitText (free, 3.6 KB + core)

gsap.js10 lines
// core + ScrollTrigger + SplitText
const split = new SplitText('#h1',
  { type: 'words' });

gsap.from(split.words, {
  opacity: 0,
  y: 20,
  stagger: 0.05,
  scrollTrigger: '#h1',
});

svg-scroll-draw (3.9 KB entry)

app.js9 lines
import { scrollText }
  from 'svg-scroll-draw/text';

scrollText('#h1', {
  split:   'words',
  stagger: 0.05,
  from: { opacity: 0, y: 20 },
  once: true,
});
05Their side

When GSAP is still the right call.

We're being honest here. GSAP has 15 years of production hardening and some features we don't have yet:

  1. 01

    Complex timeline sequencing

    GSAP's timeline API is unmatched for orchestrating multi-element animations across a precise time axis.

  2. 02

    Draggable + physics

    GSAP Draggable, Inertia, and physics plugins have no equivalent in scroll-focused libraries.

  3. 03

    The full plugin suite — now free

    MorphSVG, Flip, MotionPath, Observer and SplitText have no equivalent here, and since 2025 they cost nothing. If you need any of them, use GSAP.

  4. 04

    Community & tutorials

    GSAP has 15 years of CodePens, tutorials, and community support, plus Webflow behind it now. Our ecosystem is newer.

06The set

More comparisons.

07Verdict

Try it in 30 seconds

One npm install. No account. No license key. No config.