Arslan
Arslan

Reputation: 79

How to Convert Figma API response to FIGMA Design Code?

I am using Figma API to get a document. The response is in JSON Object. I want to convert that JSON Object, so that I can copy it into Figma UI or Convert the response to a compatible import file for Figma UI. Any Ideas, How to do that ? I know it is possible because https://www.landingfolio.com/library/all/figma landing folio already does that, I inspected the website a bit but couldn't find how they did it ! So any ideas ?

I tried looking at the docs of the Figma API I couldn't find any help there ! I tried to inspect the website landingFolio, because they do it. It seems like they do the conversion at the backend and only send you the component for Figma UI.

Upvotes: 1

Views: 756

Answers (2)

Layan Alkanhal
Layan Alkanhal

Reputation: 1

You can use the "Run Plugin API" plugin from the Figma Community to help convert the JSON into a Figma-compatible format.

Upvotes: 0

Ibrahim Memon
Ibrahim Memon

Reputation: 11

Did you check this plugin on Figma Community? Try this plugin Run Plugin API

Upvotes: 1

Related Questions