What's new

V1

Try it now!
npm create plugma@latest
Enhanced WebSockets

WebSocket messages are now queued until the connection is ready, making browser previews much more stable and responsive, even for complex plugins.

Modes and Environments

Test various setups with the new --mode option and .env variables, allowing you to build, run, and debug for different environments with ease.

Real-Time Theme Switching

Figma’s dark/light modes now update in real time, using a new iframe setup that directly syncs theme changes to your plugin UI without any delay.

Simplified Vite Configuration

Simplify builds with a single vite.config.js to manage main and UI code for dev and production modes. Customise freely to match your specific build needs.

Developer Tools

Previously, enabling developer tools required setting a flag before starting Plugma. Now, they’re just a keyboard shortcut away! Activate or hide developer tools instantly with Cmd + Opt + J.

Dedicated Preview Command

For those who frequently use browser previews, the new preview command minimises the plugin window in Figma, allowing you to free up space.