Design-tool exports (Figma, Illustrator, Sketch) include 40-70% overhead — editor metadata, redundant precision, unused definitions. Run every SVG through the optimizer before committing it to your repo. Don't over-optimize: precision below 2 decimals can cause visible kinks on small icons, and removing viewBox breaks scaling. Alternative: SVGOMG is the original web frontend for SVGO; this tool adds batch processing and React component export.
A 12 KB Figma-exported icon compresses to 1.8 KB after optimization — 85% reduction from removing editor comments, data-name attributes, and unused <defs>.
Last updated: 2026-04-22