SVG Export
Export tiny SVG files and control every aspect of how they're exported with presets. Powered by svgo
Plugin Preview
About this plugin
Save time exporting sets of SVGs by creating and assigning presets to optimize your exports. Works great for making icon libraries use clean and consistent SVG code. Optimization uses svgo (https://github.com/svg/svgo) under the hood.
- Reduce SVG file sizes
- See how options affect the code and appearance of icons in real time
- Use currentColor css property for icons that automatically inherit text color
- Use layer names as classes
- Create and manage presets for different types e.g. single color icons, illustrations, layers for animation
- Export to a
.zip
file or svg sprite sheet containing all of your selected layers - Anyone on your team can see and modify presets on a file
Comes with 3 pre-made presets
- Default: Just reduces file size, shouldn't break anything.
- Monochrome: Strips out all fills and strokes, uses currentColor as fill on the SVG element.
- Layer Names -> Classes: Uses your layer names in Figma as classes in the SVG code.
Creating your own presets
- Click
Edit presets
- Click the plus button in the top right
- Name and configure the options for your preset
Sharing presets
By default, all presets on a file can be seen and used by anyone with access to the file. Presets are saved on the file, so don't carry across if you create or edit a different file. To keep your presets, click the ...
more icon in the presets panel and export your presets from one file, open up your new file, and choose the import presets option from the same menu.
Plugin Details
Version | 10 |
---|---|
Created | February 26, 2020 |
Last Updated | August 31, 2023 |
Category | Import & export plugins |
Creator | Hamish |
Stats | 27042 installs, 840 likes |
Pricing | Free |
Technical Details
- API:1.0.0
- UI:dist/ui.html
- main:dist/plugin.js
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the Import & export plugins category.