AI Prototyper: A Figma Plugin for Decomposition-Based GUI Prototyping with LLMs

📅 2026-07-16
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the time-intensive nature of GUI prototyping and its reliance on specialized expertise, particularly the limited support existing tools offer for efficiently evolving non-code artifacts during iterative requirement changes. The authors propose an automated approach leveraging Retrieval-Augmented Generation (RAG) and human-AI collaboration: it first parses user-provided natural language inputs—supporting Chinese, English, and Thai—to extract GUI design features, then retrieves relevant components from a custom library of 32 base elements to generate editable Figma prototypes with automatic layout. Built on the Gemini 2.5 Flash large language model and a new Node.js/Express architecture, the system incorporates a user-adjustable feature refinement step prior to prototype generation. Preliminary evaluation shows that users produce more prototypes within a fixed timeframe, and expert assessments across nine quality dimensions significantly favor the generated outputs over manually crafted ones.
📝 Abstract
Graphical user interface (GUI) prototyping remains a time-consuming activity that demands both design expertise and considerable manual effort. As GUI prototypes are non-code artifacts that evolve alongside requirements throughout the development cycle, automating their generation is directly relevant to software maintenance and evolution. We present AI Prototyper, an open-source Figma plugin that automates GUI prototyping through a decomposition and retrieval-augmented generation (RAG) pipeline. Given a natural-language description of a desired screen, such as a login page or a product detail card, the plugin decomposes the request into discrete GUI features, retrieves matching components from a custom 32-primitive library, and renders each component as a fully editable Figma layer with auto-layout. The pipeline uses Gemini 2.5 Flash as its LLM back-end and a Node.js/Express service. Unlike existing decomposition-based tools, AI Prototyper introduces a human-in-the-loop editing step that lets users review, modify, or extend the generated feature list before rendering, uses a different technology stack and LLM family, and supports multilingual input, producing correctly labelled interfaces in Thai, English, and Mandarin Chinese. In a preliminary evaluation, participants using AI Prototyper completed more prototypes in a fixed time window than those working manually, and expert practitioners rated the AI-generated prototypes higher across nine quality dimensions. A demonstration video is available at https://youtu.be/pRoFAH7MQaE. The source code and component library are available at https://github.com/tongsalangsingha/AI-prototyper-tool
Problem

Research questions and friction points this paper is trying to address.

GUI prototyping
automation
software maintenance
human-in-the-loop
multilingual interface
Innovation

Methods, ideas, or system contributions that make the work stand out.

decomposition-based prototyping
retrieval-augmented generation (RAG)
human-in-the-loop editing
multilingual GUI generation
Figma plugin
💼 Related Jobs
AI Data Engineer--LLMs / Agentic Systems
Pfizer
The annual base salary for this position ranges from $106,000.00 to $176,600.00. In addition, this position is eligible for participation in Pfizer’s Global Performance Plan with a bonus target of 15.0% of the base salary and eligibility to participate in our share based long term incentive program. We offer comprehensive and generous benefits and programs to help our colleagues lead healthy lives and to support each of life’s moments. Benefits offered include a 401(k) plan with Pfizer Matching Contributions and an additional Pfizer Retirement Savings Contribution, paid vacation, holiday and personal days, paid caregiver/parental and medical leave, and health benefits to include medical, prescription drug, dental and vision coverage. Learn more at Pfizer Candidate Site – U.S. Benefits | (uscandidates.mypfizerbenefits.com). Pfizer compensation structures and benefit packages are aligned based on the location of hire. The United States salary range provided does not apply to Tampa, FL or any location outside of the United States. Relocation assistance may be available based on business needs and/or eligibility.
United States - Massachusetts - Cambridge
T
Tawatchai Salangsingha
School of Computing, Engineering & Built Environments, Edinburgh Napier University, Edinburgh, United Kingdom
S
Sami Ashkan
School of Computing, Engineering & Built Environments, Edinburgh Napier University, Edinburgh, United Kingdom
Md Zia Ullah
Md Zia Ullah
Lecturer (Asst. Professor) at Edinburgh Napier University
Information retrievalNLPGraphApplied machine learningDeep learning
I
Iain McGregor
School of Computing, Engineering & Built Environments, Edinburgh Napier University, Edinburgh, United Kingdom