Bridging Design and Development with Automated Declarative UI Code Generation
Not on the map. Why?
Abstract (arXiv)
Declarative UI frameworks have gained widespread adoption in mobile app development, offering benefits such as improved code readability and easier maintenance. Despite these advantages, the process of translating UI designs into functional code remains challenging and time-consuming. Recent advancements in multimodal large language models (MLLMs) have shown promise in directly generating mobile app code from user interface (UI) designs. However, the direct application of MLLMs to this task is limited by challenges in accurately recognizing UI components and comprehensively capturing interaction logic. To address these challenges, we propose DeclarUI, an automated approach that synergizes computer vision (CV), MLLMs, and iterative compiler-driven optimization to generate and refine declarative UI code from designs. DeclarUI enhances visual fidelity, functional completeness, and code quality through precise component segmentation, Page Transition Graphs (PTGs) for modeling complex inter-page relationships, and iterative optimization. In our evaluation, DeclarUI outperforms baselines on React Native, a widely adopted declarative UI framework, achieving a 96.8% PTG coverage rate and a 98% compilation success rate. Notably, DeclarUI demonstrates significant improvements over state-of-the-art MLLMs, with a 123% increase in PTG coverage rate, up to 55% enhancement in visual similarity scores, and a 29% boost in compilation success rate. We further demonstrate DeclarUI's generalizability through successful applications to Flutter and ArkUI frameworks.
Key facts. Cited by 19 papers in the map (data through 14 Oct 2026). First posted on arXiv 18 Sep 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2024: 3; 2025: 12; 2026: 4.
19 papers.
Sort:
By area:
- 2024Interaction2Code: Benchmarking MLLM-based Interactive Webpage Code Generation from Interactive Prototypingcited by 51
- 2025DesignBench: A Comprehensive Benchmark for MLLM-based Front-end Code Generationcited by 45
- 2024MRWeb: An Exploration of Generating Multi-Page Resource-Aware Web Code from UI Designscited by 24
- 2025P2P: Automated Paper-to-Poster Generation and Fine-Grained Benchmarkcited by 17
- 2025Advancing vision-language models in front-end development via data synthesiscited by 16
- 2025UI2Code^N: UI-to-Code Generation as Interactive Visual Optimizationcited by 15
- 2025WebVIA: A Web-based Vision-Language Agentic Framework for Interactive and Verifiable UI-to-Code Generationcited by 10
- 2025LaTCoder: Converting Webpage Design to Code with Layout-as-Thoughtcited by 9
- 2026VisRefiner: Learning from Visual Differences for Screenshot-to-Code Generationcited by 9
- 2025Automatically Generating Web Applications from Requirements Via Multi-Agent Test-Driven Developmentcited by 7
- 2026Beyond NL2Code: A Structured Survey of Multimodal Code Intelligencecited by 6
- 2025UI-UG: A Unified MLLM for UI Understanding and Generationcited by 5
7 more
- 2025Multimodal graph representation learning for website generation based on visual sketchcited by 2
- 2024Synergizing LLMs and Knowledge Graphs: A Novel Approach to Software Repository-Related Question Answeringcited by 1
- 2025Deployability-Centric Infrastructure-as-Code Generation: Fail, Learn, Refine, and Succeed through LLM-Empowered DevOps Simulationcited by 1
- 2025Paper2Web: Let's Make Your Paper Alive!cited by 1
- 2025TREAT: A Code LLMs Trustworthiness / Reliability Evaluation and Testing Frameworkcited by 1
- 2026Pattern over Pixels: Measuring Pattern Completion Bias in Multimodal Code Generationcited by 0
- 2026TaoD2C-Bench: Benchmarking MLLMs for Industrial UI Code Generation Beyond Visual Fidelitycited by 0
- 2026TaoD2C-Bench: Benchmarking MLLMs for Industrial UI Code Generation Beyond Visual Fidelity7 Oct 2026
- 2026Pattern over Pixels: Measuring Pattern Completion Bias in Multimodal Code Generation4 Aug 2026
- 2026Beyond NL2Code: A Structured Survey of Multimodal Code Intelligence14 Jun 2026
- 2026VisRefiner: Learning from Visual Differences for Screenshot-to-Code Generation5 Feb 2026
- 2025UI2Code^N: UI-to-Code Generation as Interactive Visual Optimization11 Nov 2025
- 2025WebVIA: A Web-based Vision-Language Agentic Framework for Interactive and Verifiable UI-to-Code Generation9 Nov 2025
- 2025TREAT: A Code LLMs Trustworthiness / Reliability Evaluation and Testing Framework20 Oct 2025
- 2025Paper2Web: Let's Make Your Paper Alive!17 Oct 2025
- 2025Automatically Generating Web Applications from Requirements Via Multi-Agent Test-Driven Development29 Sep 2025
- 2025UI-UG: A Unified MLLM for UI Understanding and Generation29 Sep 2025
- 2025LaTCoder: Converting Webpage Design to Code with Layout-as-Thought5 Aug 2025
- 2025DesignBench: A Comprehensive Benchmark for MLLM-based Front-end Code Generation6 Jun 2025
7 more
- 2025Deployability-Centric Infrastructure-as-Code Generation: Fail, Learn, Refine, and Succeed through LLM-Empowered DevOps Simulation5 Jun 2025
- 2025P2P: Automated Paper-to-Poster Generation and Fine-Grained Benchmark21 May 2025
- 2025Multimodal graph representation learning for website generation based on visual sketch25 Apr 2025
- 2025Advancing vision-language models in front-end development via data synthesis3 Mar 2025
- 2024MRWeb: An Exploration of Generating Multi-Page Resource-Aware Web Code from UI Designs19 Dec 2024
- 2024Synergizing LLMs and Knowledge Graphs: A Novel Approach to Software Repository-Related Question Answering5 Dec 2024
- 2024Interaction2Code: Benchmarking MLLM-based Interactive Webpage Code Generation from Interactive Prototyping5 Nov 2024
- 2025Advancing vision-language models in front-end development via data synthesiscited by 16
- 2025UI-UG: A Unified MLLM for UI Understanding and Generationcited by 5
- 2026Pattern over Pixels: Measuring Pattern Completion Bias in Multimodal Code Generationcited by 0
- 2026TaoD2C-Bench: Benchmarking MLLMs for Industrial UI Code Generation Beyond Visual Fidelitycited by 0
- 2026TaoD2C-Bench: Benchmarking MLLMs for Industrial UI Code Generation Beyond Visual Fidelity7 Oct 2026
- 2026Pattern over Pixels: Measuring Pattern Completion Bias in Multimodal Code Generation4 Aug 2026
- 2025UI-UG: A Unified MLLM for UI Understanding and Generation29 Sep 2025
- 2025Advancing vision-language models in front-end development via data synthesis3 Mar 2025
- 2024Interaction2Code: Benchmarking MLLM-based Interactive Webpage Code Generation from Interactive Prototypingcited by 51
- 2025DesignBench: A Comprehensive Benchmark for MLLM-based Front-end Code Generationcited by 45
- 2024MRWeb: An Exploration of Generating Multi-Page Resource-Aware Web Code from UI Designscited by 24
- 2025P2P: Automated Paper-to-Poster Generation and Fine-Grained Benchmarkcited by 17
- 2025UI2Code^N: UI-to-Code Generation as Interactive Visual Optimizationcited by 15
- 2026VisRefiner: Learning from Visual Differences for Screenshot-to-Code Generationcited by 9
- 2026Beyond NL2Code: A Structured Survey of Multimodal Code Intelligencecited by 6
- 2025Multimodal graph representation learning for website generation based on visual sketchcited by 2
- 2024Synergizing LLMs and Knowledge Graphs: A Novel Approach to Software Repository-Related Question Answeringcited by 1
- 2025Deployability-Centric Infrastructure-as-Code Generation: Fail, Learn, Refine, and Succeed through LLM-Empowered DevOps Simulationcited by 1
- 2025Paper2Web: Let's Make Your Paper Alive!cited by 1
- 2025TREAT: A Code LLMs Trustworthiness / Reliability Evaluation and Testing Frameworkcited by 1
- 2026Beyond NL2Code: A Structured Survey of Multimodal Code Intelligence14 Jun 2026
- 2026VisRefiner: Learning from Visual Differences for Screenshot-to-Code Generation5 Feb 2026
- 2025UI2Code^N: UI-to-Code Generation as Interactive Visual Optimization11 Nov 2025
- 2025TREAT: A Code LLMs Trustworthiness / Reliability Evaluation and Testing Framework20 Oct 2025
- 2025Paper2Web: Let's Make Your Paper Alive!17 Oct 2025
- 2025DesignBench: A Comprehensive Benchmark for MLLM-based Front-end Code Generation6 Jun 2025
- 2025Deployability-Centric Infrastructure-as-Code Generation: Fail, Learn, Refine, and Succeed through LLM-Empowered DevOps Simulation5 Jun 2025
- 2025P2P: Automated Paper-to-Poster Generation and Fine-Grained Benchmark21 May 2025
- 2025Multimodal graph representation learning for website generation based on visual sketch25 Apr 2025
- 2024MRWeb: An Exploration of Generating Multi-Page Resource-Aware Web Code from UI Designs19 Dec 2024
- 2024Synergizing LLMs and Knowledge Graphs: A Novel Approach to Software Repository-Related Question Answering5 Dec 2024
- 2024Interaction2Code: Benchmarking MLLM-based Interactive Webpage Code Generation from Interactive Prototyping5 Nov 2024