Lumeo

StreamingText

Token-by-token streaming text renderer for AI responses.

Installation

dotnet add package Lumeo

One-time app setup (AddLumeo(), CSS & JS) is covered in the installation guide.

Usage

@using Lumeo

<StreamingText />

When to Use

  • Render AI response text as it streams in — new tokens fade in smoothly.
  • Show a blinking cursor while IsStreaming is true, hide it when the response is complete.
  • Enable Prose for Tailwind typography styling on markdown-formatted responses.
Blazor is a framework for building interactive web UIs using C# instead of JavaScript. It enables developers to share logic across client and server without writing JavaScript, while still delivering rich interactive experiences.

Getting started

Blazor lets you build web UIs with C#. Key benefits:

  • Share code between client and server
  • No JavaScript required
  • Rich, interactive components

Use dotnet new blazor to scaffold a project.

AI
Assistant

API Reference

StreamingText

Prose applies the Tailwind classes prose prose-sm max-w-none to the rendered output.

  • PromptInput — Multiline AI prompt textarea with submit and keyboard shortcuts.
  • ReasoningDisplay — Collapsible chain-of-thought block for AI reasoning traces.