mlsanityData to 7 Oct 2026

DesignAsCode: Bridging Structural Editability and Visual Fidelity in Graphic Design Generation

arXiv 2602.17690 ↗First posted 6 Feb 2026cs.GR cs.AI cs.CVcited by 3

Not on the map. Why?

Abstract (arXiv)

Graphic design generation demands a delicate balance between high visual fidelity and fine-grained structural editability. However, existing approaches typically bifurcate into either non-editable raster image synthesis or abstract layout generation devoid of visual content. Recent combinations of these two approaches attempt to bridge this gap but often suffer from rigid composition schemas and unresolvable visual dissonances (e.g., text-background conflicts) due to their inexpressive representation and open-loop nature. To address these challenges, we propose DesignAsCode, a novel framework that reimagines graphic design as a programmatic synthesis task using HTML/CSS. Specifically, we introduce a Plan-Implement-Reflect pipeline, incorporating a Semantic Planner to construct dynamic, variable-depth element hierarchies and a Visual-Aware Reflection mechanism that optimizes the code to rectify rendering artifacts. Extensive experiments demonstrate that DesignAsCode significantly outperforms baselines in both structural validity and aesthetic quality. Furthermore, our code-native representation unlocks advanced capabilities, including automatic layout retargeting, complex document generation (e.g., resumes), and CSS-based animation. Our project page is available at https://liuziyuan1109.github.io/design-as-code/.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 48 of its 60 references that are in the map. First posted on arXiv 6 Feb 2026.

Builds on

48 of 60 references.

References · 48

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  5. 2020Denoising Diffusion Implicit Modelscited by 9,655
  6. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  7. 2025Qwen3 Technical Reportcited by 8,195
  8. 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,466
  9. 2024GPT-4o System Cardcited by 4,467
  10. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
  11. 2021Improved Denoising Diffusion Probabilistic Modelscited by 3,736
  12. 2017Billion-scale similarity search with GPUscited by 2,477
36 more
  1. 2019LayoutGAN: Generating Graphic Layouts with Wireframe Discriminatorscited by 130
  2. 2024Unlocking the conversion of Web Screenshots into HTML Code with the WebSight Datasetcited by 126
  3. 2020LayoutTransformer: Layout Generation and Completion with Self-attentioncited by 122
  4. 2019LayoutVAE: Stochastic Scene Layout Generation From a Label Setcited by 119
  5. 2021CanvasVAE: Learning to Generate Vector Graphic Documentscited by 93
  6. 2021Variational Transformer Networks for Layout Generationcited by 88
  7. 2023SVGDreamer: Text Guided SVG Generation with Diffusion Modelcited by 75
  8. 2020Attribute-conditioned Layout GAN for Automatic Graphic Designcited by 67
  9. 2025AutoPresent: Designing Structured Visuals from Scratchcited by 63
  10. 2023PosterLayout: A New Benchmark and Approach for Content-aware Visual-Textual Presentation Layoutcited by 60
  11. 2022Composition-aware Graphic Layout GAN for Visual-textual Presentation Designscited by 59
  12. 2023LayoutPrompter: Awaken the Design Ability of Large Language Modelscited by 47
  13. 2023COLE: A Hierarchical Generation Framework for Multi-Layered and Editable Graphic Designcited by 39
  14. 2024PosterLLaVa: Constructing a Unified Multi-modal Layout Generator with LLMcited by 39
  15. 2024Graphic Design with Large Multimodal Modelcited by 38
  16. 2024OpenCOLE: Towards Reproducible Automatic Graphic Design Generationcited by 36
  17. 2025POSTA: A Go-to Framework for Customized Artistic Poster Generationcited by 36
  18. 2025CreatiDesign: A Unified Multi-Conditional Diffusion Transformer for Creative Graphic Designcited by 36
  19. 2024PosterLlama: Bridging Design Ability of Langauge Model to Contents-Aware Layout Generationcited by 34
  20. 2025Qwen-Image-Layered: Towards Inherent Editability via Layer Decompositioncited by 29
  21. 2025LayerD: Decomposing Raster Graphic Designs into Layerscited by 20
  22. 2025MLLM-Based UI2Code Automation Guided by UI Layout Informationcited by 17
  23. 2025CreatiPoster: Towards Editable and Controllable Multi-Layer Graphic Design Generationcited by 17
  24. 2024Multimodal Markup Document Models for Graphic Design Completioncited by 15
  25. 2025PosterO: Structuring Layout Trees to Enable Language Models in Generalized Content-Aware Layout Generationcited by 15
  26. 2025Optimizing Sequential Multi-Step Tasks with Parallel LLM Agentscited by 14
  27. 2025BannerAgency: Advertising Banner Design with Multimodal LLM Agentscited by 11
  28. 2025OmniPSD: Layered PSD Generation with Diffusion Transformercited by 11
  29. 2025DesignCoder: Hierarchy-Aware and Self-Correcting UI Code Generation with Large Language Modelscited by 10
  30. 2025Rethinking Layered Graphic Design Generation with a Top-Down Approachcited by 9
  31. 2026PosterVerse: A Full-Workflow Framework for Commercial-Grade Poster Generation with HTML-Based Scalable Typographycited by 8
  32. 2025IGD: Instructional Graphic Design with Multimodal Layer Generationcited by 6
  33. 2025High Fidelity Text to Image Generation with Contrastive Alignment and Structural Guidancecited by 6
  34. 2025UTDesign: A Unified Framework for Stylized Text Editing and Generation in Graphic Design Imagescited by 6
  35. 2025PosterCopilot: Toward Layout Reasoning and Controllable Editing for Professional Graphic Designcited by 4
  36. 2025PSD2Code: Automated Front-End Code Generation from Design Files via Multimodal Large Language Modelscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.