Plugin Configuration
The manifest
Your plugin's identity is defined in apps/design-plugin/figma.manifest.ts:
Getting a plugin ID
- Open figma.com
- Go to Plugins > Manage plugins > Create new plugin
- Copy the plugin ID from the URL or the plugin settings page
- Replace
"your-plugin-id-from-figma"in the manifest
For development, you can use any ID. You only need a real ID when publishing.
Changing the window size
In apps/design-plugin/src/plugin/plugin.ts, find the figma.showUI call:
Common sizes:
- Small utility: 300 x 200
- Standard plugin: 400 x 500
- Full panel: 800 x 650
Editor types
The editorType array controls where your plugin appears:
["figma"]— Only in Figma design files["figjam"]— Only in FigJam boards["figma", "figjam"]— Both (default)
Capabilities
The capabilities array enables special features:
Most plugins leave this empty.