Questions tagged [figma-api]

Figma is a tool for prototyping and collaborating on design in the comfort of your browser.

Figma offers an API to integrate with its collaborative platform - https://www.figma.com/developers

49 questions
1
vote
0 answers

Recurring error when running Gatsby server with gatsby-source-figma plugin

I've been getting this recurring error when trying to run my gatsby server after adding the config for the gatsby-source-figma-plugin. Does anyone have any idea how to get around this? Missing onError handler for invocation 'building-schema', error…
liammills1
  • 11
  • 1
1
vote
3 answers

How to Import Javascript Module from external javascript file into with plugin`s user interface. My plugin is working with data of selection on…

lalezky
  • 374
  • 1
  • 3
  • 11
1
vote
1 answer

How to check if string is a valid Figma link?

I'm building an app on NodeJS that uses Figma API, and I need to check if the string passed by a user is a valid Figma link. I'm currently using this simple regex expression to check the string: /^https\:\/\/www.figma.com\/.*/i However, it matches…
Gleb Sabirzyanov
  • 765
  • 1
  • 8
  • 18
1
vote
1 answer

Error when attempting to run Figma spellchecker extension

I have followed the instructions outlined in the readme, but I am unable to run the spellchecker extension for Figma. Running npm run build works without issue. When attempting to run npm run spellcheck, however, I receive the following output in…
0
votes
1 answer

How can we capture screenShot of figma design and send it to s3 bucket

I am new to figma plugins. I am createing a figma plugin using plain html and javascript. What I want to do is to capture a snapshot of figma design on screen. And Convert it to png/jpg to store it on s3 Bucket. What I tried try { const…
Yogesh Arya
  • 134
  • 2
  • 14
0
votes
0 answers

Nodes from Figma REST API don't have visible property

I don't know if this the right place to ask this. Why the nodes I get from REST API didnt have visible property? The example from documentation show otherwise. I retrieved the nodes using axios from /v1/files/key endpoint with read-only file content…
Bang Dida
  • 1
  • 1
0
votes
0 answers

How can we use Figma.createPage method to make Figma page. I want to create web html into Figma Design using Figma plugin API

I am new in figma Plugin API. I want to import web url into Figma design page with Custom figma plugin development API. In the Figma documentation, they provide Figma.createPage but dont has any explanations how can we use it Thanks I am expecting…
rahul
  • 1
0
votes
0 answers

I get an error "cannot read property 'FormData' of undefined" when developing a plug-in for Figma using OpenAI API

Using "OpenAI", I am developing a plug-in for Figma. However, the following error appears and OpenAI cannot be used. How can I resolve this? TypeError: cannot read property 'FormData' of undefined It seems that an error has occurred in the…
Ika
  • 1,271
  • 1
  • 12
  • 20
0
votes
0 answers

I am making a figma plugin, why is the message not being sent?

Below is the folder structure

선택되지 않았어요