SQUIRE: Interactive UI Authoring via Slot QUery Intermediate REpresentations
Authors
Frontend developers create UI prototypes to evaluate alternatives, which is a time-consuming process of repeated iteration and refinement. Generative AI code assistants enable rapid prototyping simply by prompting through a chat interface rather than writing code. However, while this interaction gives developers flexibility since they can write any prompt they wish, it makes it challenging to control what is generated. First, natural language on its own can be ambiguous, making it difficult for developers to precisely communicate their intentions. Second, the model may respond unpredictably, requiring the developer to re-prompt through trial-and-error to repair any undesired changes. To address these weaknesses, we introduce SQUIRE, a system designed for guided prototype exploration and refinement. In SQUIRE, the developer incrementally builds a UI component tree by pointing and clicking on different alternatives suggested by the system. Additional affordances let the developer refine the appearance of the targeted UI. All interactions are explicitly scoped, with guarantees on what portions of the UI will and will not be mutated. The system is supported by a novel intermediate representation called SQUIREIR with language support for controlled exploration and refinement. Through a user study where 11 frontend developers used SQUIRE to implement mobile web prototypes, we find that developers effectively explore and iterate on different UI alternatives with high levels of perceived control. Developers additionally scored SQUIRE positively for usability and general satisfaction. Our findings suggest the strong potential for code generation to be controlled in rapid UI prototyping tools by combining chat with explicitly scoped affordances.
Research Questions / Practical Problems
Question signals indexed for this paper.
- 100%
DiLogics: Creating Web Automation Programs with Diverse Logics
UIST '23· Human-LLM Collaboration +1
- 75%
Tap&Say: Touch Location-Informed Large Language Model for Multimodal Text Correction on Smartphones
CHI '25· Human-LLM Collaboration
- 67%
Generative AI in Knowledge Work: Design Implications for Data Navigation and Decision-Making
CHI '25· Generative AI (Text, Image, Music, Video) +2
- 67%
Design Activity Simulation: Opportunities and Challenges in Using Multiple Communicative AI Agents to Tackle Design Problems
CUI '25· Human-LLM Collaboration +2
- 67%
Designing Interfaces that Support Temporal Work Across Meetings with Generative AI
DIS '25· Generative AI (Text, Image, Music, Video) +2
- 67%
SkipWriter: LLM-Powered Abbreviated Writing on Tablets
UIST '24· Human-LLM Collaboration +2
- 60%
GestAKey: Touch Interaction on Individual Keycaps
CHI '18· Hand Gesture Recognition +1
- 60%
Challenges and Opportunities for Technology-Supported Activity Reporting in the Workplace
CHI '18· Knowledge Management & Team Awareness +1
- 60%
ActiveErgo: Automatic and Personalized Ergonomics using Self-actuating Furniture
CHI '18· Full-Body Interaction & Embodied Input +1
- 60%
Exploring New File Metaphors for a Networked World through the File Biography
CHI '18· Knowledge Worker Tools & Workflows +1
Based on Jaccard similarity of research subtopics & professions (≥60%)