I built llm-ui, a UI library to help build a UI similar to ChatGPT. It operates on language model output strings, so works with any language model.<p>Quick features:<p>- Hides partial / broken markdown syntax<p>- Add your own custom components to LLM output<p>- Throttling smooths out pauses in the LLM’s streamed output<p>- Renders output at native frame rate<p>- Code blocks for every language with Shiki<p>- Headless: Bring your own styles<p>The first version is react only for now, but I'm planning to support most frontend frameworks.