Abstract
Creating high-fidelity Graphical User Interface (GUI) prototypes is a resource-intensive phase of software development. While Large Language Models (LLMs) have demonstrated potential in generating UI code, they often struggle with the "last-mile" integration into professional design workflows and the complexity of modern design systems. This paper introduces GUIDE, a Figma plugin that utilizes a three-stage decomposition approach and Retrieval-Augmented Generation (RAG) to transform high-level text descriptions into fully editable, Material Design-compliant prototypes. Experimental results indicate that GUIDE significantly enhances designer productivity and prototype quality compared to manual methods.
Introduction
GUI prototyping is essential for validating requirements and user experience before development begins. However, professional designers face several hurdles when attempting to leverage AI for this task. First, there is a Format Gap: LLMs typically output code or static images, whereas designers require editable layers in tools like Figma. Second, the "All-or-Nothing" Problem prevents granular updates; changing a single element often requires regenerating the entire screen. Finally, Complexity Overload in design systems like Google’s Material Design makes it difficult for LLMs to maintain technical accuracy without exceeding token limits or hallucinating configurations.
Methods
GUIDE addresses these challenges through a structured decomposition of the design process, bridging the gap between LLM text generation and visual design environments.
The Three-Stage Decomposition
- GUI Feature Generation: The process begins with the LLM analyzing a user's high-level prompt (e.g., "a flight search app"). Instead of immediate rendering, it generates a structured JSON list of functional features (e.g., "Date Picker," "Search Button"). This allows designers to edit the "plan" before any visual assets are created.
- Retrieval-Augmented GUI Implementation: To manage the extensive Material Design 3 (MD3) library, GUIDE employs a RAG-inspired workflow. It first presents a simplified component library view to the LLM for selection. Once components are chosen, the system retrieves full, detailed JSON specifications for those specific elements, ensuring technical precision.
- Figma Integration: The system validates the final generated JSON against a schema and renders it directly into Figma as editable layers. This ensures that the output is not a static image but a functional design that can be manually refined.
Experimental Evaluation
The researchers conducted a between-subjects study comparing GUIDE to manual prototyping in Figma. The study involved university students for productivity metrics and professional crowd-workers for quality assessment.
Key Results
The evaluation demonstrated that GUIDE-assisted designers were significantly more productive, creating an average of 3.2 prototypes per person compared to 2.33 in the control group within a 45-minute window. Quality assessments, measured on a 9-point Likert scale, showed that GUIDE outperformed manual prototyping across every measured dimension.
As shown in the table above, the improvements were statistically significant (p < 0.05). Notable metrics include:
- Requirements Fulfillment: 7.39 (GUIDE) vs. 4.74 (Manual)
- Design Consistency: 7.26 (GUIDE) vs. 5.00 (Manual)
- Overall Satisfaction: 6.18 (GUIDE) vs. 4.01 (Manual)
Discussion and Future Work
GUIDE demonstrates that decomposition is a powerful strategy for applying LLMs to complex creative tasks. By mimicking the human design process—moving from requirements to components to final visuals—the tool provides a level of controllability and accuracy that one-shot generators lack.
However, limitations remain. The current system provides only one implementation variant per feature, and the layout logic for complex, multi-screen flows requires further refinement. Future work will focus on providing multiple design variants and improving the automated arrangement of components on the Figma canvas to support more sophisticated user flows.
Summary updated