DEV Community

Discussion on: Svelte Smooth page transitions

Collapse
 
bfanger profile image
Bob Fanger

I've created a REPL which shows how to use a crossfade between pages. svelte.dev/repl/0ad58a0d830f4001b9...

Hint: Use the same instance of the crossfade by creating the send and receive in a separate javascript file.

Collapse
 
kbuffington profile image
kbuffington

This was exactly the demo I needed, and it easily works to move around multiple UI elements at the same time. So cool!

svelte.dev/repl/b2a5fbb5ec86486bb7...