I would like to propose setting a default width and height of 1em to the svg tag output to reduce cumulative layout shift if no width or height is manually specified, which would be useful for inlining with text, or is adjusted by any CSS rules that may be loaded on a page.
Various icon libraries in JS (e.g. Iconify) use these width and height values as the default, too.
(Accidentally closed the last PR since I renamed the branch).
I would like to propose setting a default width and height of
1em
to the svg tag output to reduce cumulative layout shift if no width or height is manually specified, which would be useful for inlining with text, or is adjusted by any CSS rules that may be loaded on a page.Various icon libraries in JS (e.g. Iconify) use these width and height values as the default, too.
(Accidentally closed the last PR since I renamed the branch).