Skip to main content

Hey folks,

I’ve released a messaging library for Figma plugin developers called Figma Messaging.

It’s s a two-way, await-able and type-safe replacement for Figma’s Messaging API which lets you do nice things like declare named handlers, call handlers by path, wait for a response, do something with that data, catch errors, etc:

example

It has a simple but powerful API, and for TypeScript developers, additional opt-in auto-completion functionality for:

handler ids:

handler parameters:

handler responses:

Figma Messaging provides robust messaging capabilities for any Figma Plugin with a build step.

You can take a look below, or install direct from NPM:

Happy to answer any questions!

Be the first to reply!