@acanto/core-scroll

Best option is to use GSAP (which we often use anyway) with its official scrolling plugin ScrollTrigger.

Usage no npm install needed!

<script type="module">
  import acantoCoreScroll from 'https://cdn.skypack.dev/@acanto/core-scroll';
</script>

README

@acanto/core-scroll

Scrolling animations

Best option is to use GSAP (which we often use anyway) with its official scrolling plugin ScrollTrigger.

That should replace almost completely ScrollMagic, whose integration with GSAP is explained in this guide or our custom implementations with vanilla ScrollTrigger (still useful for when not needing GSAP) and AOS - Animate on scroll (whose ease of use still values).