Skip to main content

Hey everyone,


I just noticed a weird behavior when exporting SVGs.

I usually export my 24 x 24 px icons at 256w to have a larger version for my Jira tickets and as SVG to be used in our application.

When I add an export option with the ‘+’ button and there already is an existing one, it uses a 2x size factor. If I then set the file format to SVG, the size factor input field is disabled.

I always thought that this is to imply the scaling invariance of SVGs and they will always be exported at 1x anyways. Why else should the input field be disabled?


image


At the moment I’m writing a script tool to add bright outlines to all my 1000+ icons so I can use them in dark mode. Only now did I realize that many icons are 48 x 48 px:


<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<g id="Node/FEA/Model/IsotropicMaterial">
...

Seems like I don’t understand why the size input field is disabled – or is this a bug?


Would be glad if someone could explain the intent behind the disabled size input field 🙂


Thanks everyone!

Hey @Paul_Bomke, thanks for reaching out and sorry for the delayed reply!


This definitely looks odd. I’ll send this over to the team to investigate and update you as soon as I can advise. Thanks for your patience and understanding!


Hey @Paul_Bomke,


Our team confirmed that this is definitely a bug! Are you able to share a link to your file, so we can take a closer look at what’s happening?


If so, please include a link to the file in this topic thread, and share edit access with support-share@figma.com, so our team can take a closer look. Thanks!