animxyz
animxyz copied to clipboard
Svelte 3 support!?
How disappointing to see the lack of support on one of the most loved web frameworks out there.
Nonetheless it's a fantastic effort and might change the css realm just like tailwindcss did.
Svelte support is planned for after we complete React support. It will take some more work because Svelte has a different native CSS animation system than React/Vue has so we'll have to build the functionality from scratch to work the same as the Vue and React packages.
Don't worry, we like Svelte a lot too!
How can I import this to Svelte 4? :D
Any updates yet for svelte? @mattaningram ?
please... already svelte 5(appeared(
You should be able to use AnimXYZ with Svelte if you combine the animxyz css and classes with this package: https://github.com/rmarscher/svelte-transition-classes
By applying .xyz-in on the in transition and .xyz-out on the out transition it should work.
Another option could be this:
https://svelte-headlessui.goss.io/docs/2.0/transition