Back to Plugins

Variable Icons
An easy way to convert SVG icons to components with variables.
librarydesignsvg iconsvariablesiconsdesign systemcomponents
Plugin Preview
About this plugin
Convert selected SVG icons into components while assigning variables for streamlined design control.
Currently, the plugin supports only line icons using stroke color.
Benefits
- Centralized icon styling with variables and modes.
- Optimized icon components for instance swaps.
- Tailored for Lucide Icons.
Video Tutorial
Watch a quick demo to see the plugin in action.
Features
- Assigns variables to:
- Width and height of selected frames
- Stroke weight of the shapes of selected frames
- Stroke color of the shapes of selected frames
- Sets selected frames to auto-layout mode
- Positions the shapes of selected frames in absolute mode
- Converts selected frames into components
- Saves assigned variables as preferences within the plugin
Limitations
- Local Variables Only: The plugin supports only local variables. Shared library assets are not recognized, but local variables with alias values from remote libraries will work.
- Stroke Icons Only: Filled-style icons are not supported for stroke weight and stroke color variable assignments.
- Flattened Shapes Only: Icons containing ovals, rectangles, text, or groups will not have variables assigned.
Feedback
I’m a solo designer who learned coding with AI tools. This plugin has proved useful in my workflow, but I’m eager to hear how it fits into yours.
Comments and suggestions are welcome!
- Share your thoughts below
- Or email me: domas dot markevicius at me dot com
Plugin Details
Version | 1 |
---|---|
Created | November 26, 2024 |
Last Updated | December 10, 2024 |
Category | File organization plugins |
Creator | Domas Markevičius |
Stats | 21 installs, 9 likes |
Pricing | Free |
Technical Details
- API:1.0.0
- UI:dist/ui.html
- main:dist/code.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- https://domasmark.us
- https://fonts.googleapis.com/
- https://fonts.gstatic.com
More Like This
Discover other plugins in the File organization plugins category.