· 8 min read · Figma, AI, Design Systems, Process
Figma code layers and why the canvas matters

Figma put running code on the canvas. They call it code layers and it lands at a moment when a lot of companies are asking whether they need Figma at all.
Working straight out of code just makes so much more sense, conceptually. You design and the result is what you design. No translations from your pixel-perfect design through possibly a bored/overworked/disinterested frontend developer. In practice it shows that its not that simple.
What code layers are
A code layer is an interactive prototype backed by running code that sits right on the canvas, next to your normal frames. As far as Figma's examples show, it's built on React. You can click it, type into it and see real states and animations, not a click-through of static screens.
Then you edit it by either prompting the agent, by editing the code or with point and edit. "Extract designs" turns the current state or a whole recorded flow into normal Figma layers. You fix them like any other design and push the changes back into the code layer. If the code layer came from GitHub, it stays connected and can open a pull request (neat) .
There is a cost. AI is no longer free in Figma. Creating one from frames costs at least 250 credits and a Professional Full seat gets 3,000 a month. So that's at most about a dozen code layers a month before you buy more. Fewer if you also edit them.
The pieces around it
Code layers don't stand alone. Over 2026 Figma opened up a lot: code to canvas, write to canvas, the Figma agent, Specs (beta), Guidelines (beta) and code sources in libraries (beta). Put together, that's a whole round package. Design in Figma, build with an agent, pull the result back into Figma, fix it visually and send it back.
Does it catch up with Claude Design?
Claude Design artefact is Anthropic's design tool. You describe what you need and it builds it on a canvas of artboards, as a web page made of some Anthropic version of HTML and React, same as code layers. You can edit visually a bit, ask for variations with varying success, import your design system from your code... I wrote a bit about it in part 1 of my workflow series.
Code layers close a big part of the gap. Both now give you real running code on a canvas, both use AI to build it and both connect to coding agents. But they come from opposite sides. Each is missing what the other one has.
Claude Design starts from code and is weak at being a design tool. Anthropic's own docs say the design tool has no version history yet and that editing with several people at once is "still basic and may not work reliably". Its export list doesn't include Figma. One early review, written before a big editor update in June, called it great at the first 80% and painful at the last 20%.
Figma starts from the canvas and is weak at code. Code layers only seem to work with a limited set of lightweight projects (I haven't tested that). And everything costs Figma credits, while Claude Design uses the limits of the Claude plan you probably already pay for.
Code layers don't make Figma "as good as" Claude Design. They make Figma a design tool that can hold code, while Claude Design is a code tool that's learning to be a design tool.
Who will replace whom?
Figma's side is the hard to copy. Multiplayer, version history, libraries, permissions and ten years of designers' habits are not built in a few months. On the other hand thats just software and Anthropic doesnt get money from their desing tool. Anthropic seems to have an unlimited financing machine. Figma is not in the same playing field as Anthropic.With a few updates to the Claude Design artefact, the need for Figma might become so small that it's pointless.
Figma has to move fast, code layers are a big step, but it needs to release features to cheaper plans, fix their Figma AI credits that are expensive and don't do much. Figma would need a real two-way sync with code, tokens that work, branching that works like git, normal pricing for AI, ...
The "ditch Figma" question
Now the part I care about most. Should a software company move design into code and drop Figma?
Some companies reportedly already work code first.
But look closer and almost nobody actually dropped Figma. I couldn't find a single note about a bigger company that cancelled it across the board. Every company example I found that went code first kept Figma for something. Exploring directions, comparing variants, talking to stakeholders, assets.
And the code-first people admit what they lost.
That's the real cost. When you design in code, you design inside what the AI can build. You stop exploring and start iterating.
The first version becomes the version. Even inadvertently, that first AI prototype can imprint so strongly that even in a relaxed setup it becomes the version. In a fast-paced environment, when the BA already says it's really good, the designer will most likely not go into explore mode.
A canvas lets you put ten directions next to each other, cross things out, draw something the AI would never suggest. That's not a nice-to-have, that's most of what designing is. And it fits a pattern I keep writing about. "Move design into code" usually means "make design faster", which usually means design becomes approving screens the AI made. The exploring, the comparing, the talking to people about what they actually need, that's what gets cut. It's cheap to cut because it doesn't show up anywhere until much later.
So my answer is no. Not because code first is wrong, but dropping the canvas means dropping the place where design thinking happens. Designers, product managers, clients and management can all look at a canvas. Most of them will never look at a pull request.
Conclusion
So it's not canvas or code, we have all these tools that are suddenly interoperable. Doesn't it just make way more sense to use them all?
Canvas first, then code, then back to canvas. Explore in Figma, let Claude Code build it with your real components, pull the result back with code to canvas or a code layer, fix it visually, send it back. This is the round trip Figma is now built for. Or code first, Figma on the side. Start from a running prototype in the real codebase, refine it with AI and keep Figma for assets, details and the occasional exploration. Anything is easy.
If your company wants to ditch Figma, I'd ask what exactly it wants to get rid of. If it's the handoff, fine, code layers and coding agents can kill most of it. If it's the canvas itself, I think you'd be throwing out the part where the actual design happens.
Sources
- Introducing code layers (Figma, Jun 2026) - announcement, extract designs (vendor)
- Design together with code layers (Figma, Oct 2026) - open beta, GitHub, credits from Nov 4 (vendor)
- Code layers in Figma Design (Figma help) - how to create and edit, limits (vendor)
- The Figma canvas is now open to agents (Figma, Mar 2026) - write to canvas (vendor)
- Introducing Claude Code to Figma (Figma, Feb 2026) - code to canvas (vendor)
- Figma pricing - seats and AI credits (vendor)
- Figma announces new features for agents (TechCrunch, Oct 2026) - Config India
- Figma Q3 2026 earnings call (The Motley Fool transcript) - MCP usage, revenue
- Figma 10-Q, Q3 2026 (SEC) - risk of fewer paid seats, credit complaints
- Get started with Claude Design (Anthropic) - features, missing version history, no Figma export (vendor)
- Introducing Claude Design (Anthropic, Apr 2026) - launch (vendor)
- Figma adds code layers, support for animations and more AI features (TechCrunch, Jun 2026) - CPO quote
- Claude Design stays on brand (Anthropic, Jun 2026) - editor update, Claude Code (vendor)
- Claude release notes - Claude Design on all plans since September (vendor)
- Figma vs Claude Design (Lollypop, Oct 2026) - pixel-level control (design agency)
- Claude Design redux (Yiannis Antoniou, May 2026) - token cost of exploring
- Claude Design: not the Figma killer you were hoping for (goodcode, May 2026) - first 80%, last 20%
- What code layers really mean for design systems (Chandra Pratap, Aug 2026) - governance
- The Brief 26.27 (Agustin Barrientos, Jun 2026) - prototype, not production
- Hacker News comment by a product designer on Figma's products (Nov 2026) - Make vs agent vs code layers
- Figma AI credits are way too limited (Figma forum) - credit complaints
- Code layers hands-on (Mina Kumagai, Nov 2026, Japanese) - hands-on test
- Design-to-code AI handoff workflow (Cisco DevNet, Nov 2026) - code as single source of truth
- I design with Claude Code more than Figma now (Jane Street, Feb 2026) - code first and its costs
- A designer's workflow for shipping code (Atlassian, Feb 2026) - designers opening pull requests
- How Anthropic's design team uses AI (Designer Fund, Oct 2026) - designers pushing code, visual lineage
- Case study: from Figma-first to code-first (Changying Zheng, Feb 2026) - what code first needs
- State of Prototyping, Spring 2026 (UX Tools) - tool usage
- Push from Figma Make to GitHub (Figma help) - one-way push (vendor)
- Code to canvas (Figma developer docs) - flat layers without library link (vendor)
- Two-way token sync (Figma forum) - token requests
- Extended branching and version control (Figma forum) - branching requests
- Figma MCP rate limits (Figma developer docs) - call limits (vendor)
- Figma MCP 403 for unlisted clients (WorkOS, Oct 2026) - client allowlist (WorkOS sells an alternative)
- Figma x Intopia: accessibility in AI prototypes (Intopia, Jul 2026) - accessibility test results
- Paper Series A (Paper, Jul 2026) - HTML/CSS canvas for agents (vendor)
- Framer 3.0 (Framer, Jun 2026) - agents, branching (vendor)
- Penpot release notes - tokens and MCP (vendor)
- Onlook - open-source visual editor on code (vendor)
Comments