richardgill/llm-ui
A React component library for building user interfaces that display LLM-generated output with streaming, markdown, and code block support.

This repository provides a React library for building UIs that interact with large language models. It handles rendering streamed LLM output in real time, including markdown parsing and syntax-highlighted code blocks via Shiki integration. The library offers throttling to smooth pauses in streaming responses and allows developers to inject custom components into LLM output. It is designed to be headless, letting users apply their own styling.
Frequently asked
- What is richardgill/llm-ui?
- A React component library for building user interfaces that display LLM-generated output with streaming, markdown, and code block support.
- Is llm-ui open source?
- Yes — richardgill/llm-ui is open source, released under the MIT license.
- What language is llm-ui written in?
- richardgill/llm-ui is primarily written in TypeScript.
- How popular is llm-ui?
- richardgill/llm-ui has 1.7k stars on GitHub.
- Where can I find llm-ui?
- richardgill/llm-ui is on GitHub at https://github.com/richardgill/llm-ui.