I have a question regarding bodymovin & react (or actually also plain/vanilla html&js). Say a graphic / motion designer gives me a animation of a searchfield opening up. Like this one. I then want to integrate this animation into my website, so that when a user clicks on the search bar, this animation is playing.
How would I do this? All I have is a bodymovin JSON or svg file, possibly a gif. I do know how to display this animation on my website plain & simple. But I do not really understand how the underlying functionality (the actual HTML/JS/CSS Search Bar Component) ties with the animation?
I would be very grateful for some general direction here.