Chasse.

Samples

Transitions

Chasse doesn't ship an animation engine. A transition returns whatever animates the pages, so these use the Web Animations API, CSS, GSAP and the browser's View Transitions API. Click one to see it run. Each page shows the code that ran, and a phone can swipe through them.

Web Animations API

The browser's own animation API. No library: each transition returns an animation and Chasse waits for it.

CSS

The motion is a CSS transition on a data attribute. The transition only changes the attribute and waits for it to end.

GSAP

Chasse works with any animation library, or none. GSAP is one option, loaded only when this transition first runs.

View Transitions API

The browser snapshots the old page and animates it against the new one with CSS. Chasse starts it as the old page leaves and releases it once the new page is in.