Framer Plugin

Build, run, and publish a Framer plugin (a React app under integrations/framer-plugin/ built on the framer-plugin npm package, running in an iframe inside the Framer desktop app) and get it listed via the Framer Community / Marketplace. Use when creating a new Framer plugin, reading the current canvas selection (e.g. the selected image) into your API, wiring framer.json, debugging why the dev plugin won't load, packing the zip for publishing, or figuring out how Framer submission works. Covers the whole path plus the traps that each cost a build/submit round-trip: the dev server must be local HTTPS (Framer refuses plain http://localhost and fails with a blank panel), framer.showUI must run before the React render or the window never sizes, the current selection is read via framer.getImage()/subscribeToImage (canvas-mode only, no synchronous DOM access), the zip must have framer.json at its root (zip the CONTENTS of dist/, not the folder), and plugin data (framer.setPluginData) is stored per project file — the

pooriaarab 404b341 9.2 KB Updated

File contents

pooriaarab/skills/tree/main/framer-plugin commit 404b341ba7

Frequently asked questions

npx skillmds@latest add pooriaarab/framer-plugin