I’m playing around with creating symbols in sketch, but i’m having some difficultly with the overrides ability not working consistently. I took some elements from one of the inbuilt examples as an experiment below.
Both symbols on the left have a “Graphic“ element added to the body. With the top one having a .jpg/.png as its sample content. And the bottom having a .svg
On the right, you can see each item being used and only the top element has the option to override the image where as the bottom one doesn’t
Hi Simon.
When you import a bitmap image from an external into a Source Symbol, then it will automatically be available as an override for any Symbol Instances.
Conversely, if you import an SVG into Sketch, then it will become editable vector layers within the application, just the same as any layers you had created yourself. So when adding those layers into a Symbol Source, they will not show up as something to override.
In order to get imported SVGs showing as overrides within Symbols, you can do one of two things:
When you import the SVG, convert it to a Symbol. Then it will show up as a Nested Symbol override, and can be replaced with any other Symbols.
Instead of importing the SVG directly on to your Canvas, create a Frame and import the SVG into the Frame as an Image Fill. But note that this method will bring in the SVG as a bitmapped representation of the original SVG.