JSFiddle - React, Tailwind, and code Playground
HTML
<svg width="100%" height="50%" viewBox="0 0 100 100" preserveAspectRatio="none" style="border: 1px solid #000">
<!-- ... OTHER SVG ELEMENTS I HAVE -->
<circle cx="50" cy="50" r="10px" fill="red"></circle>
</svg>
How to preserve ratio of circle without changing viewBox properties of svg?