paper-with-me

Papers

Widget2Code: From Visual Widgets to UI Code via Multimodal LLMs

2025-12-22 · Houston H. Zhang, Tao Zhang, Baoze Lin, Yuanqi Xue, Yincheng Zhu, Huan Liu, Li Gu, Linfeng Ye, Ziqiang Wang, Xinxin Zuo, Yang Wang, Yuanhao Yu, Zhixiang Chi arxiv

User interface to code (UI2Code) aims to generate executable code that can faithfully reconstruct a given input UI. Prior work focuses largely on web pages and mobile screens, leaving app widgets underexplored. Unlike web or mobile UIs with rich hierarchical context, widgets are compact, context-free micro-interfaces that summarize key information through dense layouts and iconography under strict spatial constraints. Moreover, while (image, code) pairs are widely available for web or mobile UIs, widget designs are proprietary and lack accessible markup. We formalize this setting as the Widget-to-Code (Widget2Code) and introduce an image-only widget benchmark with fine-grained, multi-dimensional evaluation metrics. Benchmarking shows that although generalized multimodal large language models (MLLMs) outperform specialized UI2Code methods, they still produce unreliable and visually inconsistent code. To address these limitations, we develop a baseline that jointly advances perceptual understanding and structured code generation. At the perceptual level, we follow widget design principles to assemble atomic components into complete layouts, equipped with icon retrieval and reusable visualization modules. At the system level, we design an end-to-end infrastructure, WidgetFactory, which includes a framework-agnostic widget-tailored domain-specific language (WidgetDSL) and a compiler that translates it into multiple front-end implementations (e.g., React, HTML/CSS). An adaptive rendering module further refines spatial dimensions to satisfy compactness constraints. Together, these contributions substantially enhance visual fidelity, establishing a strong baseline and unified infrastructure for future Widget2Code research.

📄 PDF Abstract BibTeX arXiv:2512.19918

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

Diversify and Conquer: Bandits and Diversity for an Enhanced E-commerce Homepage Experience

2023-09-25 · Sangeet Jaiswal, Korah T Malayil, Saif Jawaid, Sreekanth Vempati

In the realm of e-commerce, popular platforms utilize widgets to recommend advertisements and products to their users. However, the prevalence of mobile device usage on these platforms introduces a unique challenge due t…

DiversityMulti-Armed Bandits

Psychologically-Inspired, Unsupervised Inference of Perceptual Groups of GUI Widgets from GUI Images

2022-06-15 · Mulong Xie, Zhenchang Xing, Sidong Feng, Chunyang Chen 외

Graphical User Interface (GUI) is not merely a collection of individual and unrelated widgets, but rather partitions discrete widgets into groups by various visual cues, thus forming higher-order perceptual units such as…

NOVAID: Natural-language Observability Visualization Assistant for ITOps Dashboard Widget Generation

2025-11-20 · Pratik Mishra, Caner Gözübüyük, Seema Nagar, Prateeti Mohapatra 외 arxiv

Manual creation of IT monitoring dashboard widgets is slow, error-prone, and a barrier for both novice and expert users. We present NOVAID, an interactive chatbot that leverages Large Language Models (LLMs) to generate I…

Natural Language Queries

Benchmarking MLLM-based Web Understanding: Reasoning, Robustness and Safety

2025-09-26 · Junliang Liu, Jingyu Xiao, Wenxin Tang, Zhixian Wang 외 arxiv

Multimodal large language models (MLLMs) are increasingly deployed as the core reasoning engine for web-facing systems, powering GUI agents and front-end automation that must interpret page structure, select actionable w…

Code Generation

Composable Prompting Workspaces for Creative Writing: Exploration and Iteration Using Dynamic Widgets

2025-03-27 · Rifat Mehreen Amin, Oliver Hans Kühle, Daniel Buschek, Andreas Butz

Generative AI models offer many possibilities for text creation and transformation. Current graphical user interfaces (GUIs) for prompting them lack support for iterative exploration, as they do not represent prompts as …