Plugin
Directory Structure

Directory structure

Figma plugins can be very simple to very complex. I'll share both my directory structures for each use case.

Simple

Here is how I like to structure simple Figma plugins:

  • manifest.json
    • code.js
    • ui.html
    • ui.js
  • Complex

    Here is how I like to structure more complex Figma plugins:

  • manifest.json
    • code.js
    • ui.html
    • ui.js