Skip to main content
Question

Stop adding rects to SVGs that don't exist in the design

  • January 16, 2025
  • 4 replies
  • 66 views

Brian_Olson

If I export a frame as an SVG, Figma adds a phantom rect element to the file that is not in the design.
 


Note if it helps troubleshoot: the bug doesn’t happen if you go to SVG export settings and check “Ignore overlapping layers”.

 

Please stop adding elements that shouldn’t be there; this is causing render artifacts for some of our products.

This topic has been closed for replies.

4 replies

djv
Figmate
  • Community Support
  • January 16, 2025

Hey ​@Brian_Olson, thanks for flagging this! 

Be sure to uncheck Show in exports for Fill to prevent the rectangle from being added to your SVG export.
 

 


Brian_Olson
  • Author
  • Active Member
  • January 17, 2025

Hey ​@Brian_Olson, thanks for flagging this! 

Be sure to uncheck Show in exports for Fill to prevent the rectangle from being added to your SVG export.
 

 

Thanks for the suggestion. I gave it a try. Unfortunately, the phantom rect is there regardless of whether I have “Show in exports” checked in the frame’s fill settings.


djv
Figmate
  • Community Support
  • January 17, 2025

Thanks for following up, ​@Brian_Olson

Noted. This is definitely not expected behavior in that case. I’ll send this over to the team to investigate. 


Brian_Olson
  • Author
  • Active Member
  • January 17, 2025

Thanks, dvaliao!