mlsanityData to 14 Oct 2026

Bridging Design and Development with Automated Declarative UI Code Generation

arXiv 2409.11667 ↗First posted 18 Sep 2024cs.SEcited by 19

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

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 12; 2026: 4.

19 papers.

Sort:

By area:

  1. 2024Interaction2Code: Benchmarking MLLM-based Interactive Webpage Code Generation from Interactive Prototypingcited by 51
  2. 2025DesignBench: A Comprehensive Benchmark for MLLM-based Front-end Code Generationcited by 45
  3. 2024MRWeb: An Exploration of Generating Multi-Page Resource-Aware Web Code from UI Designscited by 24
  4. 2025P2P: Automated Paper-to-Poster Generation and Fine-Grained Benchmarkcited by 17
  5. 2025Advancing vision-language models in front-end development via data synthesiscited by 16
  6. 2025UI2Code^N: UI-to-Code Generation as Interactive Visual Optimizationcited by 15
  7. 2025WebVIA: A Web-based Vision-Language Agentic Framework for Interactive and Verifiable UI-to-Code Generationcited by 10
  8. 2025LaTCoder: Converting Webpage Design to Code with Layout-as-Thoughtcited by 9
  9. 2026VisRefiner: Learning from Visual Differences for Screenshot-to-Code Generationcited by 9
  10. 2025Automatically Generating Web Applications from Requirements Via Multi-Agent Test-Driven Developmentcited by 7
  11. 2026Beyond NL2Code: A Structured Survey of Multimodal Code Intelligencecited by 6
  12. 2025UI-UG: A Unified MLLM for UI Understanding and Generationcited by 5
7 more
  1. 2025Multimodal graph representation learning for website generation based on visual sketchcited by 2
  2. 2024Synergizing LLMs and Knowledge Graphs: A Novel Approach to Software Repository-Related Question Answeringcited by 1
  3. 2025Deployability-Centric Infrastructure-as-Code Generation: Fail, Learn, Refine, and Succeed through LLM-Empowered DevOps Simulationcited by 1
  4. 2025Paper2Web: Let's Make Your Paper Alive!cited by 1
  5. 2025TREAT: A Code LLMs Trustworthiness / Reliability Evaluation and Testing Frameworkcited by 1
  6. 2026Pattern over Pixels: Measuring Pattern Completion Bias in Multimodal Code Generationcited by 0
  7. 2026TaoD2C-Bench: Benchmarking MLLMs for Industrial UI Code Generation Beyond Visual Fidelitycited by 0