How to export assets from Sketch symbols (nested) and library?November 7, 2017 at 4:55am (Edited 2 years ago)
I have made a library of icons with color symbol and shape mask. which I am using in different places with different color fills.
I tried placing Slice inside the symbol but it is exporting as empty file. Here is the use case I am mentioning..
How can I achieve this? I have added export option in the row-symbol also.. but none it seems to be working? anyone has solution for this?
Here is my test file: https://drive.google.com/open?id=10xwFzbb12wySS7eleSPJQPY9kpzxjJ6E
November 7, 2017 at 5:32am
With slices it should show the output in the preview window
Whatever shows there is what exports
So if it doesn't show anything then something is up.
Hi @josh: Setting export by selecting folder won't work for me as I want to export the symbol after background color override or size change.
@Rey: Slicing is showing me preview with my default symbol settings but once I have any override it's not working.
Guys.. thank you for your prompt reply.. here is my test file: https://drive.google.com/open?id=10xwFzbb12wySS7eleSPJQPY9kpzxjJ6E
This might give you more insight.
I think you will want to have a slice that just sits on top of the symbol (not inside the symbol) - this even works if you have a transparent override (the sliced image will also have transparent pixels)
Hi @Kevin: This isn't working for me.. as you can see in the attached image.. I have multiple over-rides for a single nested symbol and I want to find a way to get final symbols with over-rides as export results...
Or you can draw a slice above the layer
You should be exporting from the final page not the symbols page.
I'm not sure exactly what you're showing in the video above
But it looks like you have slice placed within the group. Try bringing the slice outside of the group
Check out the example that Kevin gave. You'll se he placed a slice above the symbol instance on Page 1 not the Symbols page