Narad is a Figma plugin that allows you to export selected nodes as PNG or SVG and upload them to the cloud.
- Clone the repository or download the source code.
- Open Figma and go to
Plugins
>Development
>New Plugin
. - Choose
Link existing plugin
and select themanifest.json
file from this project. - update the
<auth-token>
in ui.html - update the
<upload-url>
in ui.html
- Select a node in your Figma document.
- Run the plugin from the
Plugins
menu. - The plugin will export the selected node as PNG and SVG and upload them to the cloud.
code.js
: Main plugin code that handles the export and upload logic.manifest.json
: Plugin manifest file that defines the plugin's metadata.ui.html
: HTML file for the plugin's user interface.
To develop and test the plugin:
- Make changes to the code in
code.js
. - Reload the plugin in Figma to see your changes.
This project is licensed under the MIT License.