Figma Plugin API 2.5 Lets Models Run in Offline Worker Threads

Design · 4 min read

Figma Plugin API 2.5 Lets Models Run in Offline Worker Threads

The new Plugin API 2.5 allows plugins to spawn dedicated worker threads that can perform long-running or compute-heavy tasks outside the main UI thread. Critically for design teams, the worker threads can now host models compiled to WebAssembly or run models via WebGPU without freezing the editor. This unlocks use cases like iterative layout generation, offline image-to-vector conversions, and local model-based linting.

Figma also shipped examples and a sample plugin that runs a small layout suggestion model entirely offline, illustrating how developers can keep sensitive design assets local. The API includes lifecycle hooks so the editor can manage worker resources intelligently, preventing runaway compute from degrading the collaborative experience.

Plugin authors will still need to consider size limits and memory constraints, but the update opens a practical path for teams to build AI features that respect privacy and performance. Designers interviewed by SatisfiedUser said they expect an influx of plugins offering real-time, privacy-preserving automation, especially for regulated industries.