DEV Community

loading...

Svelte Transitions?

Sam
E Pluribus Unum
惻Updated on 惻1 min read

How are people handling page/component transitions in their Svelte web apps?

I found Barba.js the other day and want to give it a go. Thought I might try in on a Svelte app Iā€™m building.

Anyone used Barba with Svelte? Would you recommend, or discourage?

Discussion (2)

Collapse
giorgosk profile image
Giorgos Kontopoulos šŸ‘€ • Edited

You don't need an extra library for simple page transitions just a simple wrapper for every page. Have a look at this Sapper Tutorial youtube.com/watch?v=UUX5vpwpnrE

Also might want to have a look at this dev.to/buhrmi/svelte-component-tra...

Here is another tutorial apostrof.co/blog/svelte-simple-pag...

Collapse
giorgosk profile image
Giorgos Kontopoulos šŸ‘€

Recently wrote an article on Svelte page transitions on dev.to