ComposeGears / Valkyrie

IntelliJ IDEA / Android Studio plugin to convert SVG/XML into Compose ImageVector and previewer
Apache License 2.0
360 stars 7 forks source link

FR: Support pasting an SVG directly into the plugin window #101

Open Nek-12 opened 3 months ago

Nek-12 commented 3 months ago

Figma has a useful ability to copy a layer as an SVG to the clipboard. With Valkyrie, to generate an icon, a file must exist. To simplify the process of exporting a single icon, add an option to paste into the plugin window. It should be a button ("From clipboard") and a response to Ctrl+V into the window. If the clipboard content is an XML or SVG, generate an icon.

egorikftp commented 3 months ago

I have an idea for full integration with Figma to export icons from specific layer or board. Clipboard feature can be an first part of this huge task 🙂