Sorry, the InVision Help Center does not support Internet Explorer. Please download Microsoft Edge or another modern browser.


InVision ambassador ambassador
Sakis Zafeiropoulos

Exporting clean SVG code with svgo plugin via craft

Hey there! I recently had a chat with one of our devs at work and we realised that the SVGs i have been marking as exportable in Sketch and then syncing online with craft do not produce clean SVG code, it has too many unnecessary lines in it.

As i looked online for a solution to this issue i came across this https://www.sketch.com/extensions/plugins/svgo-compressor/ a plugin that cleans up the code. 

Thing is that it does not work unless i export the SVGs directly from Sketch.

So the question here is how would i go about syncing an artboard in Sketch with exportable SVGs on it and have them produce cleaner svg code?

This post is associated with a known feature request: [[problemTicketSubject]]. Let our Product team know that you’re interested in this feature.

Sign in to add your vote

Thanks for taking the time to share your feedback about making our product better. We’ve let our Product team know that you’re interested in this feature so they can factor that into their product strategy.

join the conversation

to comment, sign up or sign in.