SANJIESAN VISUAL / Vector-asset behaviour
When an SVG changes size, check what its outline does
A vector outline can be part of a shape’s proportions or a line you want to keep at a particular visual weight. Those are different intentions when the graphic changes size. MDN documents SVG’s vector-effect="non-scaling-stroke" for changing how a stroke responds to transformations. Decide the intended behaviour before changing the exported asset.
Make a comparison with one simple original icon
Take a simple icon you made and view it at two intended sizes. Keep the background and colour the same. Compare outline weight, interior gaps and the point where lines meet. If the icon is meant to grow proportionally as artwork, a thicker outline may belong to the design. If it is a diagram line, a different behaviour may be useful. Write down the actual purpose first.
Understand the narrow property
The non-scaling-stroke value concerns stroke width under transformations; it does not redesign the icon’s geometry for small sizes. Use the documented property only where the asset’s construction and destination support the choice. Recheck any CSS affecting the exported SVG, since presentation can be influenced outside the drawing file. Keep an editable source so a technical export adjustment does not become an unexplained new master.
Inspect the final placement
Place the final exported asset in the actual layout and inspect both target sizes again. Look especially at tight gaps and joins. If the smaller icon still feels crowded, simplify its geometry in a separate size-specific version rather than demanding that one property solve every problem. Name the variants by their purpose, and retain the comparison that explains why each exists.