N
Nyxis
Chat

StreamingText

Plain-text incremental renderer with a blinking cursor while tokens arrive.

Preview

Installation

pnpm add nyxis-ui

Usage

import { StreamingText } from 'nyxis-ui';

<StreamingText text={partial} streaming={isStreaming} />;

Notes

  • For markdown content use <StreamingMarkdown> — it handles fenced code, lists, tables, GFM.
  • The cursor character defaults to and can be overridden with the cursor prop.