SVGO plugin which adds "viewBox" attribute based on "width" and "height" attributes
-
Updated
Sep 14, 2025 - JavaScript
SVGO plugin which adds "viewBox" attribute based on "width" and "height" attributes
Add viewBox attribute to your SVGs and then optimize them with SVGO
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."