This is an example of how one could implement Rive Animations in a Svelte app
In this app we use the Rive WASM runtime in order to do some more customized animation. As en example we mix all specified animations and can scrub the playhead and bind it to the window scroll.
Example animation Flame and Spark by JcToon
Demo hosted here: https://svelte-rive-demo.netlify.app/