Building AI-Friendly Generative UI with JSX
SessionTrack BJapanese
This talk explains a method for gradually constructing generative UI by having AI output JSX and incrementally parsing it. Generative UI dynamically creates UI through AI to present experiences tailored to each user. Streaming is an important consideration because current LLMs emit text sequentially and complete output takes time.
Existing implementations such as Vercel json-render and Google A2UI output JSON sequences. This talk proposes JSX instead, arguing that modern AI coding capabilities make this a more AI-friendly task. The key technical choice is a purpose-built incremental parser rather than an existing JSX parser. A live demo will show the UI assembling in response to streamed AI output.

うひょ
Frontend expert at Kaonavi, specializing in TypeScript and React. Author of Introduction to TypeScript for Aspiring Professionals (Gijutsu-Hyoron Co., Ltd.).
