WebStorm 2026.2 Help

Figma Connect

Figma Connect lets you bring designs from Figma into WebStorm and use them as context for AI Assistant. Select a frame, component, or layer in Figma Desktop, add it to an AI chat, and ask AI Assistant to help you implement the corresponding code – without switching back and forth between the design and the IDE.

WebStorm connects to Figma Desktop through the JetBrains Connect plugin for Figma, which streams your current selection to the Figma Connect tool window in real time.

Before you start

  1. As an experimental feature, Figma Connect is disabled by default. It is controlled by the figma.integration.enabled key in the Registry. To enable it:

    1. Press Ctrl+Shift+A or choose Help | Find Action from the main menu. In the popup that opens, start typing Registry, select the corresponding item and press Enter.

    2. Find the figma.integration.enabled key and select the checkbox next to it to enable the feature.

      Enable figma in the registry
    3. Restart WebStorm to apply the change.

  2. Make sure AI Assistant is installed, and you are logged in to your JetBrains Account with an active AI Assistant subscription.

    Check AI Assistant installation
  3. Install the Figma Desktop app and open the design file you want to work with.

    Install Figma Desktop and open your design file

Install the JetBrains Connect plugin in Figma

WebStorm communicates with Figma through a companion plugin that runs inside Figma Desktop.

  1. Open the JetBrains Connect plugin page on Figma Community.

  2. Click Open in… and choose the file you want to work with.

    Install the JetBrains Connect plugin in Figma - select a file

    The plugin installs and opens directly on that file in Figma Desktop, so you don't have to find it through the Figma menus manually.

Connect Figma to WebStorm

  1. Open the Figma Connect tool window (View | Tool Windows | Figma Connect) and follow the on-screen instructions.

    The Figma Connect tool window with connection instructions
  2. In Figma Desktop, run the JetBrains Connect plugin on the design file you are currently working with. To do that, open the file, click the Main menu icon and then select Plugins | From JetBrains | JetBrains Connect.

    Run the JetBrains Connect plugin in Figma Desktop
  3. In the plugin, click Connect and return to WebStorm.

    The Welcome to JetBrains Connect dialog in Figma Desktop
  4. In WebStorm, click Allow in the banner that asks you to approve the connection.

    The connection approval banner in the Figma Connect tool window

When the connection is established, the status in the tool window toolbar changes to Connected. WebStorm remembers the approval, so in the future connection is accepted automatically. To require approval again, use Revoke All Paired Sessions in the tool window settings.

View the current selection and layers

  1. Synchronize Figma Desktop with WebStorm.

    Figma Connect keeps your selection in sync between Figma Desktop and WebStorm in real time, so you switch back and forth less. The synchronization works both ways:

    • When you select a frame, a component, or a layer in Figma, the selection appears in the Currently selected in the Figma Connect tool window, together with a thumbnail.

    • When you click a layer in the Figma Connect tool window, the layer becomes the current selection, and the corresponding node is focused on the page in Figma.

  2. The Layers section lists the layers on the current Figma page. Expand a layer to browse its child layers.

Add a design to AI Chat

  • To use a design as context for the AI Chat, point to the required item in the Currently selected or Layers list and click the Add to
                    Context icon.

    The highlighted Add to Context icon on a selection item

    WebStorm opens the AI Chat tool window where the selected design is already attached.

    The AI Assistant chat window with its tool window icon highlighted
  • In the AI Chat tool window, type your prompt and send it together with the attached design.

    Be specific in your prompt. For example, "Compare my current home page implementation with the attached Figma design and fix any visual or layout differences."

    A Figma design attached to the AI Assistant chat
  • By default, WebStorm attaches the current selection to every new AI chat automatically. To change this behavior, disable the Auto Include Selection in AI Context option as described in Configure Figma Connect settings and behavior.

Configure Figma Connect settings and behavior

  1. Click the Options icon on the toolbar of the Figma Connect tool window and then select Plugin Settings the Settings icon from the list.

    The Figma Connect settings menu
  2. Configure the settings as needed. To enable a setting, set a tick next to it in the popup list, the opens.

    Auto Include Selection in AI Context

    Attach the current Figma selection to every new AI chat automatically.

    Auto-Start Server on IDE Startup

    Start the connection automatically when you open a project. This option is enabled by default.

    Revoke All Paired Sessions

    Remove all saved approvals. After that, the next connection from Figma must be approved again.

17 July 2026