Hi all - is there a way to use a scroll animation to change the variant of a component?
I have a navbar with several elements that should change when a particular element is scrolling into view. Basically merging from variant a to variant b.
One way I found to achieve this is with custom header code on the page.
Another could be to have two components on top of one another with and change their opacity on scroll.
Has someone done this before and can help me.
Thx