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.
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.
- npm downloadsLast4Weeks: About 44x growth year on year
- blog.logrocket.com/react-markdown-alternatives-benchmarking-3-streaming-renderers: Mixed but competitive streaming performance
- github releasesLastYear: 51 releases, very active
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.
- github.com/vercel/streamdown/releases/tag/streamdown%402.8.0: Current stable release improves incremental rendering and fixes multiple rendering issues.
- blog.logrocket.com/react-markdown-alternatives-benchmarking-3-streaming-renderers: Short replies gave little performance reason to switch from react-markdown.
- github.com/remarkjs/remark: First-class Markdown tree parsing and transformation.
- github.com/vercel/streamdown/discussions/515: Users reported a months-long gap before Vercel resumed releases.
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.
- github description: A drop-in replacement for react-markdown, designed for AI streaming
- vercel.com/changelog/introducing-streamdown: Positioned for AI-powered streaming in React
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.
- survey.stackoverflow.co/2026/technology/data: 41.5% of web technology respondents used React.
- streamdown.ai/docs/usage: React component with streaming and static rendering.
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.
- blog.logrocket.com/react-markdown-alternatives-benchmarking-3-streaming-renderers: 6.2 s of main-thread time vs 23.1 s for react-markdown with highlighting; a 1 s worst frame; 219 KiB gzip
- dev.to/sivarampg/mdbin-levels-up-from-custom-markdown-pipeline-to-streamdown-55g2: A user reports a painless migration with Mermaid SSR, KaTeX and sanitization
- github.com/vercel/streamdown/releases: Steady fixes, CommonMark-aligned emphasis repair in remend 1.5
- npm hasTypes: Ships TypeScript types
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.
- streamdown.ai/docs/usage: Examples for streaming, plugins, and custom rendering.
- github.com/vercel/streamdown/releases/tag/streamdown%402.8.0: Incremental repair, stricter typing support, and accessibility fixes.
- github.com/vercel/streamdown/issues/539: App developer reports raw table syntax during streaming.
- blog.logrocket.com/react-markdown-alternatives-benchmarking-3-streaming-renderers: Version 2.7.0 reduced main-thread work against highlighted react-markdown, with uneven frame pacing.
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.
- npm versionsLastYear and latestPublishedAt: 23 core package versions in a year, latest on November 17.
- github commitsLastYear and contributors: 503 commits across the repository and 114 lifetime contributors.
- github.com/vercel/streamdown/discussions/515: Users reported the release gap and a maintainer confirmed releases had resumed.
- vercel.com/changelog/streamdown-v2: Version 2 moved rendering features to optional plugins.
- vercel.com/changelog/streamdown-2-2: Version 2.2 removed CommonJS builds.
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.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, and medianDownloadsRatio: Download growth far outpaced the catalog baseline and category peers.
- dependents, github stars, bluesky posts, and peers: Zero indexed repositories, one indexed package, 5,780 stars, and five Bluesky posts.
- elements.ai-sdk.dev/components/message: Vercel's AI Elements message renderer brings Streamdown into chat projects.
- github.com/CherryHQ/cherry-studio/blob/main/package.json: Cherry Studio lists Streamdown as a direct dependency.
- github.com/bytedance/deer-flow/blob/main/frontend/package.json: DeerFlow lists Streamdown as a direct dependency.
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.
- blog.logrocket.com/react-markdown-alternatives-benchmarking-3-streaming-renderers: Independent benchmark calls it a candidate but flags stalls
- dr-ui.datarobot.com/en/docs/components/streaming-markdown: DataRobot's design system documents streaming Markdown built on it
- hackerNews stories: 4 stories, each with 2 points or fewer
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.
- elements.ai-sdk.dev/components/message: Vercel's MessageResponse component uses Streamdown.
- github.com/cloudflare/agents-starter/blob/main/src/app.tsx: Cloudflare's starter renders chat with Streamdown and its code plugin.
- github.com/bytedance/deer-flow/issues/2824: DeerFlow developers describe their use of Streamdown's animation API.
- blog.logrocket.com/react-markdown-alternatives-benchmarking-3-streaming-renderers: Independent browser replay across four renderers.
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.
- npm license and dependencies, advisories total, and scorecard: Apache-2.0, 15 direct dependencies, zero OSV advisories, and no Scorecard result.
- github.com/vercel/streamdown/blob/streamdown%402.8.0/.github/workflows/release.yml: Release workflow runs tests before publishing via Changesets and OIDC.
- security.snyk.io/package/npm/streamdown: Lists four maintainers and no direct vulnerabilities in its database.
- streamdown.ai/docs/security: Documents sanitization, remote image defaults, and plugin override behavior.
- github.com/vercel/streamdown/releases/tag/streamdown%402.8.0: Restored an HTML ID safeguard and fixed isolation between sanitizer configurations.
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
- 8.3Marked
- 7.9markdown-it
- 7.7react-markdown
- 7.7Streamdown
- 7.6remark
- 7.4MDX
- 7.1micromark
- 7.0Markdoc
- 4.1Showdown