Any order
Run the pages together, one after the other, or bring the new page in first.
Page router
Page transitions for any site.
Chasse fetches the next page, keeps both on screen while your animation runs, then swaps them. No framework, no reload.
What it does
Run the pages together, one after the other, or bring the new page in first.
Cross-fade, slide or reveal. The old page stays until your animation ends.
Press back during a transition and it plays backwards. Nothing is fetched again.
Swipe between pages, drag in from the edge, drag down to close. The page follows your finger.
Return a Web Animation, a GSAP timeline, a promise, or hand the swap to the browser's View Transitions API. Chasse doesn't mind.
The page is locked while it moves, then focus moves and the new title is announced.
From npm, or from a script tag on sites with no build step.
npm install @studio-lumio/chasse <script src="https://cdn.jsdelivr.net/npm/@studio-lumio/chasse@0.6"></script>