Skip to main content
Solved

Trouble with exporting SVG with an angular fill

  • December 6, 2022
  • 3 replies
  • 1414 views

Timur_Gindin

I have a trouble exporting the SVG icon with an angular fill. It seems, like browser sees it like a radial fill

Best answer by Celine_D

Hey all! Unfortunately, this is an expected behavior. SVG doesn’t natively support an angular gradient and so Figma exports these as radial gradients. This is a limitation of exporting this kind of shape to SVG. Rest assured our engineers are looking for a way around this, though it may take some time.

For now, we’d suggest exporting just the fill as a PNG then applying it as a fill before exporting the whole element as an SVG.

If you would like to read more about Figma exports and the limitations of the tool, please take a look at the help center article linked here: https://help.figma.com/hc/en-us/articles/13402894554519 Thank you for your understanding!

View original
This topic has been closed for comments

Timur_Gindin

image
this is how it looks in browser


Daniel_Parascandolo

@Timur_Gindin did you manage to solve this by any chance?


Celine_D
Figmate
  • Community Support
  • November 15, 2023

Hey all! Unfortunately, this is an expected behavior. SVG doesn’t natively support an angular gradient and so Figma exports these as radial gradients. This is a limitation of exporting this kind of shape to SVG. Rest assured our engineers are looking for a way around this, though it may take some time.

For now, we’d suggest exporting just the fill as a PNG then applying it as a fill before exporting the whole element as an SVG.

If you would like to read more about Figma exports and the limitations of the tool, please take a look at the help center article linked here: https://help.figma.com/hc/en-us/articles/13402894554519 Thank you for your understanding!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings