No Code, No Cloud: On-Device Mockup-to-Code with Lightweight Vision-Language AI
Authors
Bridging the gap between visual design and functional code remains a persistent challenge in modern UI workflows, especially for small teams and non-programmers. Existing solutions, such as Figma-to-code tools and recent vision language models (VLMs), often depend on proprietary cloud APIs or large-scale architectures, limiting offline operation, privacy, and control. We present LiteViT5, a lightweight, on-device vision language model that directly generates HTML from images of design mockups, enabling private, no-code prototyping without cloud infrastructure. Built on a compact ViT–T5 encoder–decoder framework with 235M parameters, LiteViT5 achieves competitive results on both in-distribution (WebSight) and out-of-distribution (Design2Code) benchmarks. We evaluate its performance across structure, position, color, and CLIP-based similarity metrics and report its comparable performance to models 10–30× larger such as PaliGemma-3B, LLaVA-7B, and DeepSeek-VL-7B. We further assess LiteViT5 in a user study with 24 participants assessing perceived accuracy, code quality, and editability. Our findings show that LiteViT5 supports rapid design iteration, reduces reliance on developer handoff, making it a practical, assistive tool for democratizing web interface creation. This work highlights the potential of efficient, human-centered generative AI to empower interface design beyond expert-only workflows. To support transparency and reproducibility, we release LiteViT5 as an open-source model on Hugging Face: OSTswiss/LiteViT5.
Research Questions / Practical Problems
Question signals indexed for this paper.
- 71%
CritiqueCrew: Orchestrating Multi-Perspective Conversational Design Critique
CHI '26· Creative Collaboration & Feedback Systems +2
- 63%
Tracing Everyday AI Literacy Discussions at Scale: How Online Creative Communities Make Sense of Generative AI
CHI '26· Generative AI (Text, Image, Music, Video) +2
- 63%
UI Remix: Supporting UI Design Through Interactive Example Retrieval and Remixing
IUI '26· Prototyping & User Testing +3
Based on Jaccard similarity of research subtopics & professions (≥60%)