Skip to main content

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?

figma.com

Your ChatGPT came up with these methods.



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?


figma.com

Reply