Writing a Figma Plugin

DevelopmentFigma
23 Aug 2023

Some useful notes on writing Figma plugins.

Introduction

Use the Plugin Quickstart Guide

Basically just needs a npm install to setup.

Note that because Cursor uses a key-binding for open browser you need to remove the ⇧⌘b keyboard shortcut via Cursor > Settings > Keyboard Shortcuts.

Then, ⇧⌘b should open the 'select build task to run' options and run tsc: watch - tsconfig.json.

The code.ts should compile to code.js on saves.

Resources