Setting up Avatars is straightforward:
npm install
to install the necessary packages.npm run dev
to start the development server. This command watches your TypeScript files for changes and automatically compiles them to JavaScript.To run the plugin in figma, you'll need to download the Figma desktop application.
After downloading, navigate to the Files menu > Plugins
> Development
> Import plugin from manifest.json file
, then navigate to the project folder and select the manifest.json
file.
This will import your plugin successfully. β
You can now launch and use the plugin by going to the plugins menu.
That's it! When you run the development server with npm run dev
and update the code in the ui.html
or code.ts
files, the plugin will update in real-time. β‘
For more information on how to build and run figma plugins, refer to the Figma Plugin Quickstart Guide.
Avatars is perfect for developers looking to build their own Figma plugins with minimal setup time. Whether you're a seasoned developer or just starting out, this boilerplate is designed to streamline your workflow and let you focus on creating great plugins.