Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • Figma Design – Figma Learn
  • Dev Mode
  • Turn designs to code

Figma for VS Code

Written by Figma Man

Updated at June 19th, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Administration – Figma Learn
    Manage files and projects Manage a team Manage your account Manage a Figma organization Manage Enterprise plan settings and permissions Billing Manage Figma in a school
  • Figma Design – Figma Learn
    Create prototypes Import and export Create designs Tour the interface Dev Mode Work together in files Build design systems Figma Draw
  • Get started – Figma Learn
    Set up your account Layers 101
  • FigJam – Figma Learn
    Import and export Run meetings Work on boards Tour the interface
  • Community – Figma Learn
    Explore the Community Creator tools and resources
  • Help – Figma Learn
    Troubleshoot Common questions Work with support
  • Work across Figma – Figma Learn
    Figma AI Work across Figma
  • Courses, tutorials, projects – Figma Learn
    Courses Projects
  • Figma Slides – Figma Learn
    Create and edit slides Present slide decks Tour the interface Import and export
  • Figma Buzz – Figma Learn
    Templates in Figma Buzz Create and edit assets in Figma Buzz Overview
  • Figma Make – Figma Learn
    Tour the interface Work with Figma Make
  • Figma Sites – Figma Learn
    Design a site Create webpages and breakpoints Make your site interactive Preview and publish a site Tour the interface
+ More

Table of Contents

Open Figma designs in VS Code Inspect Figma designs in VS Code Explore a design file in VS Code Inspect a frame See which designs are ready for development View code snippets Access Dev resources View component properties Export assets Auto-complete code suggestions View comment notifications Run plugins in VS Code Log out of Figma for VS Code

Before you Start

Who can use this feature

Available on all paid plans

Requires a Full or Dev seat 

The Figma for VS Code extension provides an easy way for developers to access and inspect designs right from VS Code. You can navigate and inspect design files, collaborate with designers, track changes, and speed up design implementation—all without leaving your development environment.

Use the Figma for VS Code extension to:

  • See and respond to comments and activity in real time
  • Get code suggestions based on designs
  • Link code files to design components

You can install the Figma for VS Code extension from Visual Studio’s Marketplace. You’ll be prompted to sign in to your Figma account when you first open the extension in VS Code.

Open Figma designs in VS Code

There are a couple of ways to open a design file through the VS Code extension:

From Dev Mode

  1. Set CSS as your preferred language in Code settings or the Code section of the Inspect panel.
  2. Click on a top-level frame.
  3. In the Inspect panel, click Options next to the layer name.
  4. Select Open in VS Code.

From VS Code

  1. Open VS Code.
  2. Click Figma in the activity bar, or find Figma for VS Code from your list of extensions.
  3. In the primary sidebar under Files, click on the design you want to open.

Inspect Figma designs in VS Code

006_VSCode (1).mp4.gif

Explore a design file in VS Code

Figma for VS Code extends the functionality of Dev Mode’s inspection features and brings design files right to your text editor. When you select a design file in VS Code, you’ll see frames in the file grouped by section, status (e.g ready for development) and page. If a frame doesn’t have a parent section, or an assigned status, those won’t be visible.

Inspect a frame

Select from a grid of frames and see them individually with focus view. Search for frames and filter through results to quickly find what you’re looking for.

See which designs are ready for development

Click Layers in the toolbar to view sections marked as Ready for development.

View code snippets

View code snippets and relevant information like modes and styles in the Code tab.

Choose your preferred language and unit for code snippets in the top-right of the Inspect toolbar.

Access Dev resources

Access relevant development links in the Dev resources tab. Click Add Dev resources to add a link to a code file or dev resource.

If a link has a matching implementation in your current codebase, it opens the file in VS Code instead of the browser.

Link Dev resources to layers in Dev Mode →

View component properties

If you have a component selected, you can view its properties in the Component tab.

Export assets

Download and export assets for a selected layer in the Assets tab.

Learn more about exporting selections from Figma →

Auto-complete code suggestions

The Figma for VS Code extension provides auto-complete suggestions based on the selected layer. This is helpful if you’re building components that don’t have an existing implementation in your codebase.

View comment notifications

You can view comment notifications in real time under Notifications in the primary sidebar. Click on a notification to view and add a comment to the design through VS Code.

Guide to comments in Figma →

Run plugins in VS Code

Leverage third party tools and customized code without leaving your code editor.  Check out our docs to learn how to make your private plugin work in VS Code →

Log out of Figma for VS Code

  1. While in VS Code, Press Shift Command P to Show and Run Commands.
  2. Select Figma: Log out from the list of options in the search bar.

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Use code snippets in Dev Mode
  • Link Dev resources to layers in Dev Mode
  • Guide to the Dev Mode MCP Server
  • Code Connect
  • Blog
  • Best practices
  • QR code generator
  • Color wheel
  • Colors
  • Color picker
  • Color palettes
  • Color palette generator
  • Color contrast checker
  • Font Library
  • Templates
  • Developers
  • Integrations
  • Affiliate program
  • Resource library
  • Reports and insights
  • Support
  • Status
  • Legal and privacy
  • Modern slavery statement
  • Climate disclosure statement
  • COMPARE
  • Sketch
  • Adobe XD
  • Framer
  • Miro
  • COMPANY
  • Events
  • Customers
  • Careers
  • Newsroom
Expand