Guides / Claude Code to Figma
Claude Code to Figma: Send Live UI to the Figma Canvas
Claude Code is great at building UI, but designers still review and iterate in Figma. In February 2026 Figma introduced "code to canvas": with the Figma MCP server, you can capture a UI running in your browser and send it to Figma as editable design layers. Here is how to set up Claude Code to Figma, step by step.
What you need
- Claude Code installed and signed in.
- A Figma account with access to the file you want to write to.
- A UI you can run locally in a browser.
Step 1: Connect Claude Code to Figma
The recommended route is the Figma plugin for Claude Code, which configures the MCP server and adds Figma's skills:
claude plugin install figma@claude-plugins-official
If plugins are blocked in your organization, add the remote server directly:
claude mcp add --transport http figma https://mcp.figma.com/mcp
Restart Claude Code, run /mcp, and complete the Figma sign-in. Writing to the canvas uses the remote server; the older desktop server is mainly for reading.
Step 2: Build and run the UI
Ask Claude Code to build the screen, then start your dev server and open the page in a browser. Keep the page focused: one screen or flow at a time captures more cleanly than a long, scrolling app.
Step 3: Send it to Figma
Ask Claude Code to send the page to Figma. A capture toolbar lets you grab the full page or select specific elements, and the result lands in your Figma file as layers rather than a screenshot.
Step 4: Clean up in Figma
- Rename top-level frames to match your page names.
- Swap repeated elements for your library components.
- Check auto layout on cards and lists, since captured layouts may need constraints adjusted.
- Bind colors and type to your variables and styles.
Going the other way: Figma to Claude Code
The same connection works in reverse. Select a frame in Figma and ask Claude Code to implement it; the MCP server provides the layout, variables and component data so the code follows your design.
Claude Code Figma plugin vs a Claude plugin inside Figma
The Claude Code Figma plugin lives in your terminal and moves work between code and canvas. A Claude plugin inside Figma lives on the canvas and generates designs from prompts with no code involved. Designers usually prefer the second; design engineers often use both.
Troubleshooting
- Figma tools missing in /mcp: restart Claude Code after installing and re-authenticate.
- Capture lands as an image: make sure you are using the remote server and a supported client.
- Install command fails: your organization may block plugins; use the manual
claude mcp addroute.
Claude Design for Figma
Describe a UI and get real, editable Figma layers — the plugin runs locally in your file. 3,000,000 tokens/month, save 51% yearly.
Get the plugin →