Get the latest tech news
Practical approach for streaming UI from LLMs
king Rich UI Component Rendering in AI Responses August 19, 2025 LLMs have enabled us to solve a new class of problems with more flexibility than ever, but as they are language models, they are inherently text powered, which has led to AI-based UI being incredibly text heavy. As someone who has been creating experiences with web technology my entire life, I’m not satisfied with so much UI being replaced with text.
To enable that I also created html-balancer-stream which allows you to auto close and balance unclosed tags or strip them out until they’re ready for true streaming support. react-markdown is powered by the unified project which is a framework and community ecosystem for parsing and transforming syntax trees to be able to combine and convert various languages. To pair this with AI generated output you can simply prompt an LLM with your JSX component tag and attribute schema, as well as the acceptable children, and examples of their usage.
Or read this on Hacker News