SVG Importer Plugin

SVG Importer Plugin

Download from the Creator Store

Directly import SVG files into Roblox Studio using this plugin. Helpful to manually skip rasterizing them, and should save you a lot of time as it has for me.

The user interface

Features
  • Gives you control over the imported resolution
  • Allows you to test before you press upload, so you can see how it’ll look in your UI.
  • Allows you to quickly hot-swap existing images in your game.
How To Use
  • Obtain whatever SVG files you wish to import
  • Open the plugin and press “Import SVG…”
  • Select the file
  • Select your desired width & height
  • You can test by inserting a temporary ImageLabel before upload
  • Alternatively, you can select an existing Image instance you wish to replace, and press the “Test on …” button
  • You can adjust the name of the uploaded image before you finalize.
  • Once you have confirmed everything is as it should be, press upload.
    image

Demonstration Video

Supported SVG Format Features
  • SVG root element and intrinsic width / height sizing.
  • Length units: unitless / px, pt, pc, mm, cm, in, em, ex, and rem.
  • viewBox mapping and preserveAspectRatio alignment modes, including none, meet, and slice.
  • Basic geometry: <path>, <rect> (including rounded corners), <circle>, <ellipse>, <line>, <polyline>, and <polygon>.
  • SVG path commands: M, L, H, V, C, S, Q, T, A, and Z, in absolute and relative forms.
  • Grouping with <g> and <a>; <switch> renders the first supported child.
  • Local fragment references with <use> and <symbol>, including cycle protection.
  • Nested <svg> viewports, viewBox mapping, and viewport clipping.
  • Element transforms: matrix, translate, scale, rotate, skewX, and skewY.
  • Solid fills and strokes; fill="none", stroke="none", and currentColor.
  • CSS named colors, hex colors (#RGB, #RGBA, #RRGGBB, #RRGGBBAA), rgb() / rgba(), and hsl() / hsla().
  • Linear and radial gradients with color stops, local gradient references, gradientTransform, objectBoundingBox / userSpaceOnUse, and pad / reflect / repeat spread methods.
  • Fill rules: nonzero and evenodd.
  • Stroke width, opacity, line caps (butt, round, square), joins (miter, round, bevel), miter limit, dash arrays, and dash offsets.
  • Element and group opacity, fill/stroke opacity, display, and visibility.
  • Embedded CSS <style> rules and inline style declarations, with supported selectors and basic cascade / !important handling.
  • XML comments, CDATA, standard/numeric entities, and simple internal DOCTYPE entity declarations.
  • Anti-aliased rasterization to the requested image dimensions.
Unsupported SVG Format Features
  • Text: <text>, <tspan>, <textPath>, font shaping, and text layout.
  • Raster/vector image embedding: <image>, data URIs, and external image files.
  • Clip paths: <clipPath> and clip-path.
  • Masks: <mask> and mask compositing.
  • Filters and filter primitives.
  • Patterns: <pattern> fills.
  • Markers: <marker> and marker properties.
  • Mesh gradients and other gradient types beyond linear/radial.
  • External SVG references; <use> supports local #id references only.
  • Blend modes, isolation, paint-order, and context paints (context-fill / context-stroke).
  • Animation, scripting, interactivity, and links as browser behavior.
  • Foreign content such as <foreignObject>.
  • CSS imports, media-query behavior, and full browser CSS parsing.
  • Writing-mode, full typography features, and browser layout/rendering properties.
  • General SVG effects or edge cases that are outside the feature list above.

If you enjoy the plugin, please leave it a positive review. If you wish for any changes, improvements, features, please let me know as well.

4 Likes