Rive Layout not working in Webflow

I am working on a Rive animation that needs to be responsive, yet when I add the Rive file in a div inside Webflow, it treats it as an image and stretches the Rive animation in Responsive. When setting the fill option, there is no “layout“ option like in Framer. How does one fix this?