Skip to main content
Question

Generating a Figma File from Node

  • December 24, 2022
  • 1 reply
  • 2118 views

Rob_Gordon

I started using the figma API for the first time today and I was kind of surprised to find there are no endpoints for creating elements, be it documents, frames or shapes.

My goal was to programmatically generate a figma file from Node/Javascript. I was able to successfully interact with the API and load a file I’ve already created.

Maybe this is common knowledge to everyone else / sorry if so. Are there plans to add creation endpoints to the API? Also, are there any other routes I could take to programmatically generating a design file?

Thanks for any direction!

1 reply

Gleb
  • Power Member
  • 4708 replies
  • December 24, 2022

You can use the Plugins API to edit files programmatically.

There is no info on anything like this becoming available in the near future for the REST API.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings