Insights

Process

From Figma to project display with AI

Why can't we tell AI to make a screenshot from Figma into a real project screen, and the fastest 4-step process I use: config design system, UI guideline, screenshot + MCP, copy CSS & refactor — reaching ~95%+ compared to design.

22/06/2026 · 4 min read · Lê Huy Thái

Main point
  • There is currently no way to tell AI to "one-shot" from Figma into a standard real project (teamwork) screen.
  • Reason: different genes, little code reuse, deviation from the project's existing config/style.
  • The process I use: config design system → UI guideline (skill/rule) → screenshot + MCP + description → copy CSS & refactor.
  • Results: ~80–90% after step 3, ~95%+ after step 4, the rest prompt to continue or adjust manually.

To be honest, I haven't found a way (or maybe I'm just stupid) to tell the AI ​​to make a shot from Figma fly straight into the side of the project screen with current AI tools. I'm not talking about a play page or a small project — but a real company project, teamwork. Actual process

Infographic Từ Figma đến màn hình dự án với AI gồm 4 bước: config style và design system, UI guideline skill/rule, screenshot MCP mô tả ngắn, copy CSS và refactor
Từ Figma đến màn hình dự án với AI — quy trình 4 bước: ~80–90% sau bước 3, ~95%+ sau bước 4.

Why can't we "one-shot" Figma → code?

After trying all kinds of methods, I found the process below is the fastest for me.

  1. 01
    1. Config style & design system

    The project needs to have standard style configuration according to Figma: primary color, secondary color, background, font sizes, spacing... Basically, the designer still has to build it, I bring it back to set up (or tell AI to set it up). Or go from the same style set to synchronize.

    Small design system components (input, button, card...) are also tried to be set up from scratch and configured according to the general style.

    If you look at a design and the buttons in each place have an unrelated style, then maybe the design itself is wrong.

  2. 02
    2. UI Guideline (Skill / Rule)

    There are things in the design that look very conventional but cannot be put into component/config — then put them here. For example:

    • Spacing of cards is always 2rem.
    • After the big title is always the subtitle.
    • Do not use shadows throughout the project.
    • Everything that is clickable must have a pointer when hovered.

    Also list which components do what to avoid "creating something already existing". Add rule: must check to see if it is available - if there is, use it, or customize the old one to reduce hard-code and make it easier to maintain.

    This helps AI code follow the current style; When you need to be creative, still create within limits.

  3. 03
    3. Screenshot, MCP, short description

    Figma has MCP, configured via Dev Mode or Personal Access Token (but the limit is quite painful). I took photos + let me read through the MCP + briefly described the layout. Combined with the above 2 steps will result in a screen reaching about 80–90% of the design.

    Of course you can't eat it right away yet — AI's vision isn't really that smart.

  4. 04
    4. Copy CSS & refactor

    Because the image reading AI + MCP can only partly understand areas that require high precision or have small details wrong. Now each node in Figma can copy CSS: right-click a node in the sidebar > Copy/Paste as > Copy as code > CSS (all layers). Priority should only be given to copying the offending node / each node — copying the whole screen will be very large.

    Paste for AI, tell it to refer to this: you cannot hard-code but must convert to components, the packaged rules, and the project's existing config. If something doesn't exist, please report back so I can confirm — hard-code or create new/new config.

    Here we reach about 95%+ compared to the design. The remaining prompts continue or adjust manually a few %.

Need to build UI from Figma quickly but still standard on the system?

If you want a fast and consistent Figma → code process for real projects, talk to us.