← Back to Paper Radar

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

Seungeon Cha, S. Jo, Jongho Shin, Kyoungwon Seo
CHI Extended Abstracts | 2026

Abstract brief · Based on the abstract alone

The authors compare three ways of giving LLM agents an organization's design system: full style guides in prompts, task-relevant guides in context, and a registry of pre-built components. They report the registry approach as the most reliable.

Why read this

Teams building UI-generation agents can use it to choose how to inject design-system knowledge.

What the authors found

  • According to the authors, the registry-based strategy reached 95.08% compliance, the highest of the three strategies, across six real-world UIs, with only moderate overhead. Abstract

Main limitation

The evidence comes from only six generated UIs, and the abstract does not quantify the other strategies' results or the overhead. Abstract

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.

Generated automatically from abstract on 2026-11-28.