Use the official Figma plugin template with TypeScript and React, scaffold with Cursor, and publish free or paid to the Figma Community. Plugins run in a sandboxed iframe communicating with Figma's scene graph via postMessage.
git clone https://github.com/figma/plugin-samples and pick a React template, or run pnpm create @figma/plugin.code.ts runs in Figma's sandbox with scene graph access. ui.html is an iframe that can use any web tech but can't touch nodes directly — they communicate via postMessage.code.ts has scene graph. Use postMessage.figma.closePlugin(): Causes memory leaks.setTimeout to keep Figma responsive.| Tool | Best For | Price |
|---|---|---|
| @figma/plugin-typings | TypeScript types | Free |
| Figma Plugin API docs | Reference | Free |
| Figma Community | Distribution | Free |
| Plugma | Vite-based plugin dev | Free |
| create-figma-plugin | Yeoman alternative | Free |
Q: Can Figma plugins be paid? Yes — as of 2024, Figma supports paid plugins via Stripe integration.
Q: Can I access the network?
Only from the UI iframe, and only to allowed origins declared in networkAccess in manifest.
Q: Does my plugin work in Figma Jam and Slides?
You declare editorType in manifest — figma, figjam, or slides.
Q: How do I share plugins privately with a team? Publish as "Private" — only Figma orgs you share with can install.
Q: Can plugins modify files offline? No — they run in the Figma client, which requires internet.
Q: What's the bundle size limit? Technically ~4MB, but aim for under 1MB for instant loads.
Figma plugins are a high-leverage way to reach designers. Solve one repetitive design pain — renaming, color swapping, handoff — and build a following. AI makes the scene graph API painless.
Free newsletter
Join thousands of creators and builders. One email a week — practical AI tips, platform updates, and curated reads.
No spam · Unsubscribe anytime
Ship a working Chrome extension in a weekend using Cursor, Claude Code, and Manifest V3 — no prior extension experience…
Cursor editor lagging, freezing, or using 100% CPU? Complete 2026 guide to fix Cursor performance issues.
GitHub Copilot stopped giving suggestions in VS Code or JetBrains? Complete troubleshooting guide with 12 fixes for Copi…
Comments
Sign in to join the conversation
No comments yet. Be the first to share your thoughts!