Is It Possible to Export SVG file with Saving ''Drop Shadow" Effect?
Yes, you can export svgs. If the element with a shadow is inside a frame, the final SVG might clip the shadow depending on your frame settings.
On thing to be aware of: if you use shadows with multiple settings layers, the resulting SVG will look different from your initial design because Figma does not manage to add those stacked shadows to the groups of the svg. You might have to play around with stacking multiple layers. But simple shadows should work fine.
Thank you for your reply! I have a problem that ââDrop Shadowââ effect is just dissapear when i try to copy or convert my work into svg. All components is in frame.
Itâs really difficult to identify the problem without any detailed information
- Did you try to export as svg or did you just copy the frame?
- Did you apply any blend modes (like âMultiplyâ) to the shadows?
- Is it a very complex design with many groups and layers or someting simple like an icon?
⢠I tryed to export and to copy the frame. The results are simillar
⢠No, i donât use any blend modes to shadows
⢠I canât say it is a very complex design, but yes, i have about 7-8 groups in it
Ok great, that should be doable. Looks as if Figma did not convert the shadow settings correctly and created an inset shadow. Could you also share a screenshot of the shadow settings? I assume you stacked multiple shadows, but I might be wrong
So for the rectangle you could try to use just one drop shadow or try to create tow layers, each with one of the different shadows.
For the text Iâm also a bit baffled now, tried around with it and Figma seems to always convert the drop shadow into an inset shadow. This might be a bug⌠Iâll maybe try some more and let you know if I come across a solution for exporting the drop shadow on textâŚ
Nah, nothing changes by creating two layers of square or using just one shadow.
I was pretty surprised that i couldât find any information in a web about this problem :Ń
Thank you again for trying to help me with this situation
So, this is definetely a bug but I found a way to work around it for now⌠There is a new option to show shadows behind transparent areas and if this one is checked, the shadows will export correctly. However, the checkbox only appears if you have transparency in your fill layers.
So here are the steps for you to export your designs:
- select the layer that has drop shadow (rectangle, text, anything)
- change fill to 99% of your color
- edit the drop shadow where you should now see a checkbox âShow behind transparent areasâ
- Check the checkbox on
- (optional) Set the fill back to 100%, this will make the box disappear but apparently the now hidden setting still helps
- repeat for all layers that have drop shadow
@Josh This seems like a bug difficult to report. Do you know of an existing issue or can you convert this one to a bug? Without the checkmark set, the drop shadows will export / import as inset shadows.
Lea, thank you a lot. You really help me!