Skip navigation
Cooking my first Figma plugin ๐Ÿง‘โ€๐Ÿณ
0:00 / 1:06

Cooking my first Figma plugin ๐Ÿง‘โ€๐Ÿณ

Jan Toman

@HonzaTmn5.6K followers

Visit on X
161 likesDownloadOriginal post

30,590 views

Cooking my first Figma plugin ๐Ÿง‘โ€๐Ÿณ It allows exporting collections with variables from one file (including all types, modes, scopes, and descriptions) and importing them to a new file. It still needs some work (and solving references), but the basics are working already ๐ŸŽ‰

10 Comments

Comments from the original post on X (Twitter)

  • Hugo Raymond's profile picture

    @_hraymond

    Nice work Jan! One thing that would be really cool is if there was some error handling to verify that the collection has been exported or imported successfully. I've noticed that not everyone has their Local Variables open when they are running a plugin so this could be a nice add!

    2 likes

  • Jan Toman's profile picture

    @HonzaTmn

    @figma Thank you, Hugo! Yes, definitely โ€” Figma has a nice notify API for this. Here is the successful flow, error messages are still to be done. Slowly getting to the state where it will be ready for submission ๐Ÿคž

    2 likes

  • Caleb Panza โ˜พ's profile picture

    @CalebPanza

    @figma So dope! Any timeline on when this could be available?

    1 like

  • Jan Toman's profile picture

    @HonzaTmn

    @figma If all goes as planned with references and testing, early next week ๐Ÿคž

    3 likes

  • Johan Ronsse's profile picture

    @wolfr_2

    For this kind of stuff I am wondering why itโ€™s not built-in.

    1 like

  • Jan Toman's profile picture

    @HonzaTmn

    Iโ€™m sure built-in way will come later, it was probably only cut down to avoid scope creep

  • Lauri Lรคnnenmรคki's profile picture

    @laurilllll

    @figma Awesome work ๐Ÿ”ฅ This will be so useful plugin for the community ๐Ÿค

    1 like

  • Anton Bahrencheer's profile picture

    @abahrencheer

    @figma Amazing! Was just about to move a few hundred Color variables i created in the wrong file. Looking forward to the release! ๐Ÿ”ฅ

    1 like

  • Jan Toman's profile picture

    @HonzaTmn

    @figma Curious โ€” do you reference variables in other variables? If yes, are the referenced variables in the same collection, or in a separate one?

    1 like

  • Jonny Summers-Muir's profile picture

    @JSummersMuir

    @figma Nice. Following ๐Ÿ™Œ

    1 like