Skip to main navigation Skip to search Skip to main content

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

  • Seoul National University of Science and Technology (SNUST)
  • Hyundai Motor Group

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

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.

Original languageEnglish
Title of host publicationCHI 2026 - Extended Abtracts of the 2026 CHI Conference on Human Factors in Computing Systems
EditorsNuria Oliver, David A. Shamma, Heloisa Candello, Pablo Cesar, Pedro Lopes, Valentino Artizzu, Fiona Draxler, Gustavo Lopez, Anke V. Reinschluessel, Xin Tong, Phoebe O. Toups Dugas
PublisherAssociation for Computing Machinery
ISBN (Electronic)9798400722813
DOIs
StatePublished - 13 Apr 2026
EventExtended Abtracts of the 2026 CHI Conference on Human Factors in Computing Systems, CHI 2026 - Barcelona, Spain
Duration: 13 Apr 202617 Apr 2026

Publication series

NameConference on Human Factors in Computing Systems - Proceedings

Conference

ConferenceExtended Abtracts of the 2026 CHI Conference on Human Factors in Computing Systems, CHI 2026
Country/TerritorySpain
CityBarcelona
Period13/04/2617/04/26

Keywords

  • AI Agents
  • Context Engineering
  • Design System
  • Large Language Models
  • User Interface

Fingerprint

Dive into the research topics of 'Design System-Compliant User Interface Generation with LLM Agents: A Comparative Study of Context Engineering Strategies'. Together they form a unique fingerprint.

Cite this