Code on the Figma canvas
Jun 24, 2026Nikolas Klein

Summary
This post introduces 'code layers' on the Figma canvas, allowing interactive code to be directly integrated and iterated upon within design files. It details how users can add code layers from the toolbar, generate them from existing frames using an agent, or import entire codebases. The functionality allows for comparing design alternatives by moving elements and receiving immediate code responses, and for extracting designs back into editable Figma layers. It also highlights collaborative features where teammates can comment and prompt against the same code layer.
More from the Figma Make Visual Editor trail
- Workflow lab: Staying in the flow with Figma’s agent
- 3 ways product designers use the Figma agent for craft, speed, and creative expression
- How to lighten design system upkeep with the Figma agent
- How Coinbase used Code Connect to guide agents and shrink token costs
- Behind the build: Generative plugins and shaders at Figma