Skip to content

How to install and use the StackBlitz plugin for Figma

Figma is a collaborative UI/UX design tool. Figma’s Dev Mode enables developers to inspect designs, extract code, and access design details, streamlining the design-to-production process.

Figma supports a number of plugins that extend the functionality and integrate additional tools with the platform.

Available with all StackBlitz plans including Personal, Personal+, Teams, and Enterprise.

The plugin is compatible with all Figma plans.

About the StackBlitz plugin for Figma

With StackBlitz’s Figma plugin, Dev Mode users can open components in StackBlitz directly from Figma.

StackBlitz's Plugin for Figma Dev Mode

After configuring the plugin, you will be able to:

  • Link layers in Figma to specific components in your design system
  • Open the relevant components in an instant, browser-based development environment directly from Figma Dev Mode
  • View and modify the relevant component in StackBlitz without any local configuration
  • Preview any changes live within StackBlitz
  • Commit edits back to the repository or open a pull request

Installing the plugin

To use the StackBlitz plugin, add it to a Figma file from either:

  • The plugins directory by clicking “Open in…” and then selecting the name of the file.

  • Dev Mode within your Figma file by searching for "StackBlitz" under Plugins

    Figma plugin directoryInitialize the StackBlitz plugin from within Dev Mode.

Using the StackBlitz plugin with Dev Mode

Once you have added the plugin to your Figma file,

  1. Enable Dev Mode is on (Shift + D)
  2. Select a layer
  3. Open in the StackBlitz plugin and paste a URL of a repository with the code of your project.
  4. Click the "Create instant environment link" button to have the link generated for the selected layer.

The link is now added to the layer's Dev resources.

When you click it, a new tab will open with the full IDE loaded with your project. If your link included a file, this file will already be open in the editor.

We suggest providing instant environment links, especially for the essential components in your app. The components that might need adjustments in future are good candidates as well.

Generally, every time a developer looks at a component in Figma to make changes in the code, having a resource link handy will make their work so much easier!

For more information, view the StackBlitz plugin in the Figma community directory and refer to the Figma Dev Mode documentation.

How can we improve this guide?

Haven't found an answer to your question? Let us know!