DEVOURED
Bring Code-backed Screens Onto the Canvas with Variables Attached
Figma now maps code-backed screens to design variables automatically, reducing manual cleanup when importing live web pages or code components.
What: Figma's latest update allows assets imported via Make, the Figma MCP server, or the Chrome extension to bind to existing file variables instead of hardcoding values. It also improves auto layout consistency for imported frames to ensure they are responsive.
Why it matters: This reduces the friction between production code and design environments, potentially bridging the gap where design systems drift from implemented web components.
Deep dive
- Automatically binds colors, typography, and spacing to existing file variables.
- Supports imports from Figma Make, the Figma MCP server, and live web capture.
- Improves auto layout heuristics to prevent manual rebuilding.
- Simplifies the workflow for importing legacy screens or live websites into design files.
Decoder
- MCP (Model Context Protocol): An open standard for connecting AI models to external data sources and developer tools.
- Auto Layout: A system in Figma that allows elements to resize and reflow based on content, mimicking CSS Flexbox or Grid.
Original article
Bring code-backed screens onto the canvas with variables attached
When you bring code-backed screens onto the Figma canvas, colors, type, and spacing now bind to most of the variables already in your file instead of landing as hardcoded values. You'll see this when you:
- Copy a Make preview onto the canvas as design layers
- Generate a design from code through the Figma MCP server
- Capture your live web page as editable layers with the Chrome extension
More frames also come in with auto layout, so edits resize and reflow instead of needing manual cleanup. Together, this means you can bring coded or legacy screens back into Figma and spend your time refining the work, not rebuilding it.
Explore all 65 articles in today's digest
Fresh dev news, AI-digested daily. Never miss a trend at devoured.fyi