Library for dealing with SVG viewboxes as plain arrays
Add viewBox attribute to your SVGs and then optimize them with SVGO
<svg class="logo" viewBox="0 0 128 128" width="24" height="24" data-v-c0161dce=""><path fill="#42b883" d="M78.8,10L64,35.4L49.2,10H0l64,110l64-110C128,10,78.8,10,78.8,10z" data-v-c0161dce=""></path><path fill="#35495e" d="M78.8,10L64,35.4L49.2,10H25.6L64,
Extract the viewBox content from an SVG string
React hooks for resizing svg's viewbox and calculating its size-relevant properties dynamically