This effect uses a component with multiple variants, each highlighting a different part of the text.
We use sticky positioning to maintain the visibility of the component as we scroll down the page. Scroll variants are then triggered within scroll sections to change the active variant of the component.
Step / 01
Remix the project.
Step / 02
See how it's built (more info in the tutorial).
Step / 03
Try recreating it for practice or copy and paste it into your project.