fluxdown

Streaming Markdown renderer for AI apps. React, Vue, Svelte, Angular, React Native, React Lynx, Vue Lynx, SolidJS, Taro, and Uni App Vapor components with a shared reactive core.

Automatically checked · GitHub checked 2026-11-14

fluxdown

Overview

Fluxdown

Fluxdown — Streaming Markdown for AI apps

Website · Playground · Documentation · 简体中文

Fluxdown renders streaming Markdown for AI chat and live writing in React, Vue 3, Svelte 5, Angular, React Native, React Lynx, Vue Lynx, SolidJS, Taro, and Uni App. Its shared core keeps content readable from unfinished syntax to the final response.

  • Smooth streaming. Reveal incoming text gradually and handle unfinished links, emphasis, and code.
  • Less repeated work. Block-level caching reuses stable content as the message grows.
  • Familiar Markdown. Render GFM tables, task lists, strikethrough, and autolinks, with code highlighting and optional math.
  • Adaptable presentation. Customize themes, replace components, or extend parsing and rendering with plugins.
  • A framework-independent core. Share parsing, syntax repair, and reactive content blocks across frameworks, or build your own renderer.

Get started

In a React 18 or 19 app:

pnpm add fluxdown
import { Fluxdown } from "fluxdown";

type MessageProps = {
  text: string;
  isStreaming: boolean;
};

export function Message({ text, isStreaming }: MessageProps) {
  return <Fluxdown text={text} streaming={isStreaming} />;
}

Pass the full message received so far as text. Set isStreaming to false when generation finishes, is cancelled, or fails. For static content, omit streaming.

If your bundler does not load the styles automatically, add this to your app's global style entry:

import "fluxdown/styles.css";

See the quick starts for React, Vue 3, Svelte 5, Angular, React Native, React Lynx, Vue Lynx, SolidJS, Taro React, and Uni App for more examples.

Packages

PackageUse it for
fluxdownReady-to-use Markdown rendering in React.
@fluxdown/vueReady-to-use Markdown rendering in Vue 3.
@fluxdown/svelteReady-to-use Markdown rendering in Svelte 5.
@fluxdown/angularReady-to-use Markdown rendering in Angular.
@fluxdown/react-nativeReady-to-use Markdown rendering in React Native.
@fluxdown/react-lynxReady-to-use Markdown rendering in React Lynx.
@fluxdown/vue-lynxReady-to-use Markdown rendering in Vue Lynx.
@fluxdown/solidReady-to-use Markdown rendering in SolidJS.
@fluxdown/taroReady-to-use Markdown rendering in Taro React.
@fluxdown/uni-appReady-to-use Markdown rendering in Uni App x Vapor.
@fluxdown/coreParsing, repair, and reactive content blocks for a custom renderer.
stativeComposable state and derived computations, also used by Core.

Documentation

  • Meet Fluxdown — explore streaming Markdown and choose a renderer.
  • Architecture — understand the shared core and renderer layers.
  • Smoothing — control the pace of incoming text.
  • Animation — choose how new content appears.
  • Syntax repair — keep unfinished Markdown readable during streaming.
  • Plugin design — extend content processing and rendering.
  • Side-by-side demo — compare the same content across renderers.
  • Core — work with reactive content blocks directly.
  • Stative — create and compose state flows.

Contributing

Bug reports, documentation improvements, and pull requests are welcome. Use issues to report bugs or discuss ideas. A minimal reproduction helps us investigate a problem.

See CONTRIBUTING.md for development setup and pull request guidelines. Report vulnerabilities privately as described in SECURITY.md.

Contributors

Thanks to everyone who contributes code, documentation, bug reports, and ideas.

Contributors

License

MIT