Agents, Meet the Figma Canvas: Codex + Figma MCP
With Codex (OpenAI) + Figma MCP, I built a complete SaaS landing page directly inside Figma using just a prompt — with auto layout, components, and variables.

Shantanu Nautiyal
Product & UI/UX Designer
March 2026Design Tools
Agents, meet the Figma canvas. We’re moving from designing screens to executing systems. With Codex (OpenAI) + Figma MCP, I built a complete SaaS landing page directly inside Figma using just a prompt — with auto layout, components, and variables. A structured, editable design file.
What changed? Agents can now create real Figma files using components, variables, and styles, convert code → canvas, and sync canvas → code. The new loop is: Prompt → System → UI → Figma → Refine → Code.
How it works: (1) Connect Figma to Codex by enabling MCP and authorizing access so Codex can read/write Figma. (2) Write a structured prompt — for example: “Design a SaaS ecommerce landing page in Figma canvas with auto layout, components, variables, dark mode. Include hero, features, pricing, testimonials, CTA.”
(3) Codex builds a design system first: colors (variables), typography styles, and a component set (buttons, cards, etc.) — this is why output feels production-ready. (4) It generates UI in sections inside a 1440px wrapper frame (Hero → Features → Pricing → CTA) with auto layout and constraints applied using components, not rectangles.
(5) Code → Canvas converts UI into editable Figma layers — not screenshots, structured layouts. (6) Iterate in Figma, send the frame back, and Codex updates the implementation. Instead of one-way Design → Dev handoff, we get true Design ↔ Code sync. The canvas isn’t just for designing anymore — it’s where products start getting built.
Key takeaways
- ◆Prompt like a design brief — always ask for Auto layout, Components, Variables, and Clean naming for better iteration.
- ◆Building the design system first (variables, typography styles, component sets) makes generated UI production-ready.
- ◆Design ↔ Code bidirectional sync delivers faster iteration, no pixel mismatch, stronger design systems, and better designer–dev collaboration.
Related stories
AI Workflow
Google Stitch + Antigravity: From Idea to Code in Hours
Explored Google Stitch + Antigravity Agent Mode for UI/UX and frontend workflows — turning raw ideas into design systems, multi-page UI, React/Next.js code, and Figma exports.
Posted by Shantanu Nautiyal
Conference
Lessons from Asia's Largest Telecom & Tech Fest — IMC 2025
From 5G/6G and deployable disaster-recovery networks to smart cities, digital twins, and edge AI platforms — attending India Mobile Congress 2025 (#IMC2025) was transformative.
Posted by Shantanu Nautiyal

