DEV Community

Discussion on: Spring it on! The complete guide to React Spring. 🧵

Collapse
 
benitorubeno profile image
BeniBen

Hi any idea of spring lib in vanilla js?

Collapse
 
vaibhavkhulbe profile image
Vaibhav Khulbe

Hey, I don't know if there is any such library available for vanilla JS. But this one is only for React.

Collapse
 
okikio profile image
Okiki Ojo

I recently released @okikio/animate, I am planning to add spring animation to the library, you can check out a rough draft, of what I am have here,

As of right now @okikio/animate forces you to set the duration manually, but after reading this article I am going to have the spring animation automatically decide the duration of the animation.

You can read more about @okikio/animate as well as the Custom Easing and spring animations here

Collapse
 
vaibhavkhulbe profile image
Vaibhav Khulbe

Looks good, great work and thanks for sharing :)

Thread Thread
 
okikio profile image
Okiki Ojo

Please tell me what you think of my current implementation, I need some feedback, as I haven't really worked with complex easing before