Elestia Open Source Ratings
7.7

Streamdown

A strong pick. 4th of 9 markdown libraries.

Streamdown is Vercel's React component that renders Markdown while an AI model is still writing it. It repairs half-finished syntax and includes code highlighting, Mermaid, math and safe link handling. It is the strongest current pick for AI chat interfaces in React, but it is a narrow, heavy tool compared with general Markdown parsers.

Best for: React teams building AI chat or assistant interfaces that render streamed LLM output as Markdown.

WebsiteGitHubnpm

Scores

Overall7.7

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

Among the peers, it is clearly the best fit for one large and growing kind of project: React apps that render streamed AI output. It is actively maintained by Vercel and its adoption is growing faster than anything else in the category. It is not a general Markdown tool: it is React-only, its bundle is heavy, and it has no tree-editing API. For static content, react-markdown or marked remain simpler, which keeps it below the category default.

GPT-6.2 Sol: 7.8, likely 6.7 to 8.8

Streamdown is a strong pick for new React apps that display model output while it is being written. For finished Markdown in React, react-markdown is the simpler default, and remark fits projects that mainly inspect or transform Markdown trees. The earlier release gap and limited independent testing of 2.8.0 leave some uncertainty about maintenance and performance across workloads.

Needed by many4.1

How many developers need a tool for this job?

Claude Opus 5.5: 4.5, likely 3.5 to 6.0

It does only one part of the category's job: rendering Markdown in React, tuned for streamed AI output. It does not offer general parsing or editing of the Markdown tree. AI chat interfaces are now a large and growing group, which lifts it above a clear niche. The range is wide because it is hard to say how many projects have an AI chat surface.

GPT-6.2 Sol: 3.7, likely 2.6 to 4.8

React is widely used, and Streamdown can render finished Markdown too. Its main advantage applies to the smaller group building interfaces that show Markdown as it arrives. The survey measures React use, so the share with a streaming Markdown requirement is an estimate.

Helps a lot7.9

How well does it do the job for those who need it?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

It handles streamed Markdown that is not finished yet better than general renderers do. It also ships many features: Shiki code blocks, Mermaid, math, CJK, link hardening, block memoization and TypeScript types. One independent benchmark found that it used much less main-thread time than react-markdown with highlighting. In the same benchmark it showed the worst single frame stall and a larger bundle, and another renderer did better on long replies.

GPT-6.2 Sol: 8.2, likely 7.0 to 9.1

Streamdown repairs incomplete syntax, reuses parsed blocks, and offers typed component overrides and optional rendering plugins. Version 2.8.0 reduces repeated parsing work and improves keyboard focus and Mermaid errors. Users have reported flashes of unfinished table syntax, and the independent benchmark tested 2.7.0, leaving current performance on long replies uncertain.

Holds up over time7.6

Will it still be a good choice in two years?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

Vercel employs the maintainers and ties the project to its AI SDK, and it moves fast: 503 commits, 51 releases and 345 merged pull requests in a year. It is only 15 months old, and minor releases sometimes need code changes, such as Node 20 for Shiki v4 or plugin identity caching. One user said pull requests pile up and forks multiply, though only 22 issues are open.

  • github commitsLastYear / releasesLastYear: 503 commits and 51 releases in the last year
  • github contributors: 114 contributors; 292 closed and 22 open issues
  • bluesky top posts: A user worries that pull requests pile up and that there are many forks on npm
  • github.com/vercel/streamdown/releases: 2.7 and 2.8 bring behaviour changes that need action

GPT-6.2 Sol: 7.6, likely 6.4 to 8.7

Vercel maintains Streamdown, and the core package published 23 versions in the past year. Releases resumed in August after a months-long gap that left users waiting for fixes. The project is young, and the move to optional plugins and removal of CommonJS builds show that upgrades can require changes.

Used widely6.2

How many use it, and is that growing?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

Downloads rose from 1.0M to 44.3M per four weeks, a ratio of about 44 against a median of 4.1. That is the fastest growth in the category. Much of it likely comes from installs through AI SDK Elements and chat UI kits rather than direct choice. The dependents count of 0 repositories looks like a gap in ecosyste.ms, not real usage.

  • npm downloadsLast4Weeks: 44.3M now vs 1.0M a year ago
  • medianDownloadsRatio: 4.1 median vs about 44 here
  • github stars: 5,780 stars in 15 months
  • dependents: 0 repositories and 1 package, probably an undercount

GPT-6.2 Sol: 5.3, likely 3.5 to 7.0

Four-week downloads rose from 1.01 million to 44.3 million, about 43.7 times the prior year against a 4.1 times catalog baseline. Repeat installs and projects that get Streamdown through AI Elements can inflate that signal. Public repositories confirm direct use beyond the collector's one recorded package, but comparable peers such as react-markdown have far more indexed repositories, so the direct adoption estimate stays wide.

Vouched for6.7

Who stands behind it being good?

Claude Opus 5.5: 6.0, likely 4.5 to 7.0

Vercel builds it into its own AI tooling. Third-party chat UI kits and company design systems adopt it as their streaming renderer. Independent write-ups exist, but they are few and their results are mixed, and Hacker News and Bluesky attention is minimal. It has no survey data yet.

GPT-6.2 Sol: 7.4, likely 6.2 to 8.5

Vercel uses Streamdown in AI Elements, Cloudflare uses it in its Agents starter, and ByteDance's DeerFlow uses it in its chat frontend. An independent benchmark found less main-thread work than react-markdown with highlighting on one long replay, with mixed frame pacing. The range reflects limited independent testing of 2.8.0 and little survey evidence about Streamdown itself.

Safe7.1

How safe is it to depend on?

Claude Opus 5.5: 7.0, likely 5.5 to 8.0

It has no advisories, uses the permissive Apache-2.0 licence, and hardens links and images through rehype-harden by default. It pulls in 15 direct dependencies plus heavy optional plugins (Shiki, Mermaid, KaTeX), which widens the attack surface. No Scorecard data exists, so the range stays wide. The repository's licence field on GitHub is null, but npm states Apache-2.0.

  • advisories total: 0 advisories
  • npm dependencies: 15 direct dependencies
  • npm license: Apache-2.0
  • scorecard: No Scorecard data

GPT-6.2 Sol: 7.2, likely 5.9 to 8.4

Streamdown uses Apache-2.0, has zero recorded OSV advisories, and publishes through a GitHub Actions workflow configured for npm trusted publishing. It sanitizes HTML by default and still allows remote images, which can expose readers to tracking. The 15 direct dependencies, missing OpenSSF Scorecard, and limited visibility into publisher permissions keep the range wide.

Good

  • It repairs unfinished Markdown while text streams in (unclosed code fences, emphasis and links), using its remend preprocessor.
  • It accepts react-markdown's props, so migrating takes little work, and it adds copy buttons, table export, Mermaid, KaTeX and hardened links.
  • Vercel maintains it very actively: 503 commits and 51 releases in the last year, with 114 contributors.
  • It is the default renderer in Vercel's AI tooling and is used by chat UI kits such as assistant-ui.

Bad

  • It works only with React and needs a recent React, so it covers a small part of the general Markdown job.
  • The bundle is larger than react-markdown's (about 219 KiB gzip in one benchmark), and Shiki and Mermaid add more.
  • Independent benchmarks found occasional long frame stalls, and one project found slowdowns in long chats caused by per-character animation nodes.
  • It is a young project with frequent minor releases, and some of them change behaviour, such as plugin caching and handler priorities.

The numbers

npm downloads, 4 weeks
44M ×44 in a year
GitHub stars
5.8k
Commits, 12 months
503
npm version
2.8.0 Nov 2026
Versions, 12 months
23
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
None
Licence
Apache-2.0

It shows Markdown that an AI model is still writing.

Read on 21 November 2026 from GitHub (vercel/streamdown), npm (streamdown), OSV and the OpenSSF Scorecard.

Markdown libraries

  1. 8.3Marked
  2. 7.9markdown-it
  3. 7.7react-markdown
  4. 7.7Streamdown
  5. 7.6remark
  6. 7.4MDX
  7. 7.1micromark
  8. 7.0Markdoc
  9. 4.1Showdown
Compare all 9 on six scores