Add viewBox attribute to your SVGs and then optimize them with SVGO
-
Updated
Nov 27, 2024 - JavaScript
Add viewBox attribute to your SVGs and then optimize them with SVGO
SVGO plugin which adds "viewBox" attribute based on "width" and "height" attributes
Extracts the viewBox information from an SVG string
Add a description, image, and links to the viewbox topic page so that developers can more easily learn about it.
To associate your repository with the viewbox topic, visit your repo's landing page and select "manage topics."