Design System-Compliant User Interface Generation with LLM Agents: A Comparative Study of Context Engineering Strategies

0Citations
Citations of this article
7Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Large language model (LLM) agents are increasingly used for user interface (UI) generation, yet they often fail to apply organization-specific design systems. It remains unclear which context engineering strategy enables dependable compliance. This study compares three context engineering strategies for integrating design systems into LLM agents: instruction-based (embedding complete style guides in prompts), context-based (injecting task-relevant style guides into the context window), and registry-based (assembling pre-built components in the registry). We evaluate each strategy on compliance rate, task completion time, and token usage by generating six real-world UIs. Results show that the registry-based strategy achieved the highest compliance rate (95.08%), outperforming others with only moderate overhead. Our pilot study with nine practitioners further indicates reduced perceived difficulty and time burden while enhancing self-efficacy in their workflows. These findings demonstrate that using pre-built components in the registry enables more reliable and scalable design system-compliant UI generation with LLM agents.

Cite

CITATION STYLE

APA

Cha, S., Jo, S., Shin, J., & Seo, K. (2026). Design System-Compliant User Interface Generation with LLM Agents: A Comparative Study of Context Engineering Strategies. In Conference on Human Factors in Computing Systems - Proceedings . Association for Computing Machinery. https://doi.org/10.1145/3772363.3798616

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free