A boilerplate project to kickstart building Figma plugins using Svelte.
git clone
cd figma-svelte-plugin-boilerplate
pnpm install
pnpm dev
Plugins > Development > New Plugin...manifest.json file in the root of the project.Plugins > Development > Your Plugin Namesrc directory.pnpm build
src/: Contains the Svelte components and styles.
public/: Contains the static assets and the manifest.json file.
UI.svelte: The main Svelte component that serves as the entry point for the plugin UI.
code.ts: The main TypeScript file that handles the plugin's entry point and communication with Figma.