Skip to main content
clayton_fussell
New Member
September 5, 2023
Solved

HProperty 'createButton' does not exist on type 'PluginAPI'

  • September 5, 2023
  • 3 replies
  • 292 views

I’m using ChatGPT to help me write a plugin that takes user input from one form and pass it to another - so want to create the plugin UI’s programmatically.

I know ChatGPT has old reference data. What has replaced Figma.createButton() and Figma.createInput() to programmatically create form elements in typescript?

This topic has been closed for replies.
Best answer by tank666
figma.com

3 replies

tank666
September 5, 2023
figma.com

Your ChatGPT came up with these methods.

UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank
clayton_fussell
New Member
September 6, 2023

Yes that is what I want to do. In the first UI the user inputs some data, data is manipulated in code.ts and the manipulated data displayed back to the user.

I love how ChatGPT is making stuff up to answer questions. I have looked at the Figma plugin API docs and can’t find anything that programmatically creates form elements like inputs or buttons.

Can you point me in the specific direction?

tank666
tank666Answer
September 6, 2023
UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank