Animating between variants on scroll
With Scroll Variants, we can take that same power and tie it to the scroll position, triggering smooth transitions between component states as visitors move through the page. In this lesson, I’ll show you how to animate between variants based on scroll to create more immersive, story-driven experiences.