Barba JS page transitions plugin

Not a feature with high prio, but would be really nice if Barba JS had a native plugin in DivHunt! My primary reason for choosing DivHunt is because it’s a SPA which makes page transitions like Barba JS possible.

Link to the library here: GitHub - barbajs/barba: Create badass, fluid and smooth transitions between your website’s pages.

1 Like

Hi, yes! This has been in our minds for so long, but never actually built it, because theres always something more important. But we will for sure invest some time to build system for this, maybe built-in, or through plugin. We will see :slight_smile:

3 Likes

I’m so glad to hear this! Barba JS is absolutely awesome.

A relatively simple plugin would suffice for now. But you would need to be able to build the animations for the page load and page transitions as well somehow. GSAP would be great for this.

Any updates on page transitions?

1 Like

This would be great! Or another page transition solution.
What’s the recommendation for now?

You can make page transitions natively in DivHunt right now with interactions! Just set the trigger to work around page load and page unload and the sky’s the limit.

1 Like

I get what you mean in theory but I haven’t been able to get the page unload event to work in practice.
I am apply to preview it with the play button in the interactions panel but the new/next page loads in before I can see any fade out animations of the previous page. Any ideas?

working here: sc-clouds | About