Jump to content
You must now use your email address to sign in [click for more info] ×

SVG Export : Convert symbols to <use>

Recommended Posts

The SVG language features an <use> element, that duplicates an item from the document, instead of multiplying the code blocks.

I did a huge illustration with lots of duplicated elements, and when I exported it, the code was HUGE. To reduce the size of my file, I had to manually translate every duplicated object with the <use> element.

Reference from mozilla : https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use

Link to comment
Share on other sites

  • 4 months later...

I'm having the same issue.

Just a wasted opportunity to make the SVG export a lot better. Shouldn't be that hard to implement either.

I would love to see this being improved, along with many other issues that SVG export has right now.

Link to comment
Share on other sites

  • 3 months later...

I came here to request this too! SVG file size could be reduced by like 90% if it wasn’t duplicating the code of every repeated asset. Maybe there could be a “clone” command in addition to copy/duplicate. Or a special layer, like an artboard, but to place all the symbol defs on that can get reused in the main image.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.