Elestia Open Source Ratings
7.7

react-markdown

A strong pick. 3rd of 9 markdown libraries.

react-markdown is the standard React component for rendering Markdown safely as React elements. It is built on remark and rehype from the unified ecosystem. It is mature and widely used, and it is still a strong pick for React apps. It has had no release since March 2025, and for long streamed AI replies, streaming-focused renderers such as Streamdown now handle partial Markdown better.

Best for: React teams that want to render Markdown safely as components, with remark and rehype plugins, and without dangerouslySetInnerHTML.

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.0

It is the default, safe and extensible way to render Markdown in React, and its use is growing faster than the median. Releases have stalled since March 2025. For long streamed AI output, Streamdown or memoizing per block does better. So it is a strong pick for React content, not the default for the whole category.

GPT-6.2 Sol: 7.9, likely 6.8 to 8.8

For a new React app rendering complete Markdown, the typed component API and plugin support make react-markdown a strong pick. Marked serves general HTML output, remark handles direct tree work, and Streamdown is better suited to incomplete model output. Current product use supports the recommendation, while the release gap and limited evidence about future maintenance keep it below a category-wide default.

Needed by many5.5

How many developers need a tool for this job?

Claude Opus 5.5: 5.5, likely 4.5 to 6.5

Rendering Markdown in a React UI is a common need: docs, CMS content, comments and, more and more, AI chat replies. But it serves only React, and it does not cover server-side Markdown-to-HTML or tooling work, which much of the category does.

GPT-6.2 Sol: 5.4, likely 4.3 to 6.5

React gives it a large audience for rendering documentation, chat messages, and other Markdown content inside apps. Its output is tied to React, and remark serves projects that mainly need to read or transform a Markdown tree. The developer survey measures React use, so the share that needs Markdown rendering 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 is correct and CommonMark-compliant through micromark, safe by default, extensible through plugins, and well typed. An independent benchmark found no long frame gaps on short and medium streamed replies. It loses points because it re-parses everything on each update, does nothing special for partial Markdown during streaming, and needs MarkdownHooks for async plugins.

GPT-6.2 Sol: 8.3, likely 7.2 to 9.1

Version 10.1.0 combines CommonMark rendering, typed component overrides, and a mature plugin ecosystem. The small API and worked examples make typical integrations straightforward for people and coding agents. Users report slow rendering on very large documents, and a competing renderer's benchmark shows a clear disadvantage on long streams. Performance on ordinary documents is less well measured.

Holds up over time6.4

Will it still be a good choice in two years?

Claude Opus 5.5: 6.5, likely 5.0 to 7.5

The unified collective maintains it, and it keeps issues near zero (1 open, 730 closed). But it had only 5 commits and no releases in the last year, and the Scorecard's Maintained check is 4. The core is mature and the unified packages under it are still released. Vercel's Streamdown is drawing AI-chat users to a successor-style tool.

  • github commitsLastYear: 5 commits, 0 releases in the last year
  • github openIssues: 1 open issue against 730 closed
  • hackerNews top: Streamdown pitched as a drop-in replacement
  • peers micromark latestPublishedAt: The parser underneath is still released (2026-09)

GPT-6.2 Sol: 6.3, likely 5.0 to 7.6

Five commits and no releases in the past year put it well behind Marked and markdown-it on recent activity. Several pull requests have waited more than a year, and a downstream app reported broken styling after the v10 upgrade. Multiple maintainers still answer issues, and the unified collective funds core maintenance across its ecosystem. The release history shows one recurring publisher, leaving some uncertainty about how quickly a future fix would ship.

Used widely7.1

How many use it, and is that growing?

Claude Opus 5.5: 8.0, likely 7.0 to 8.5

Downloads are 226M per 4 weeks, up from 30M a year ago. That ratio of about 7.4 is well above the median of 4.1, which points to growth from AI chat apps. About 48k dependent repos and 2.8k dependent packages are counted, which is strong for a tool that serves only React. Some downloads come from wrapper packages, so direct choices are probably in the hundreds of thousands of projects.

  • npm downloadsLast4Weeks: 226M, against 30M a year ago
  • dependents: 48,191 repos and 2,783 packages
  • github stars: 15.9k stars

GPT-6.2 Sol: 6.2, likely 5.2 to 7.4

The collector found about 48,000 dependent repositories and 2,800 dependent packages, a substantial footprint that trails Marked, markdown-it, and remark. Downloads rose 7.45× year over year, above the 4.1× catalog median and close to Marked's 7.04×. Build servers and indirect installs inflate the download count, while repository coverage is incomplete. Social discussion adds little evidence about how many new projects choose it.

  • evidence.dependents, peers: 48,191 repositories and 2,783 packages in the collector's index
  • evidence.npm.downloadsLast4Weeks, evidence.npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio, peers: 226.5 million versus 30.4 million downloads, ahead of the catalog growth baseline
  • evidence.bluesky, evidence.hackerNews: Two Bluesky posts and three Hacker News headlines about Streamdown
  • humanloads.dev/react-markdown: Download estimates still include CI and indirect installs
Vouched for7.5

Who stands behind it being good?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

Vercel's AI SDK cookbook builds its chat Markdown example on it. Streamdown presents itself as a drop-in replacement for it, which shows it is the reference tool. A recent independent benchmark recommends keeping it for short and medium replies. Developer surveys do not cover it directly, which keeps the score from going higher.

GPT-6.2 Sol: 8.0, likely 6.9 to 8.9

GitHub Docs, Microsoft's Data Formulator, and Grafana k6 Studio declare the current release line, and LibreChat confirms using it in its chat renderer. These are independent product choices across several use cases. A competing renderer's benchmark and Dify's move to Streamdown limit the endorsement for live streams, and package-specific satisfaction data is sparse.

Safe6.9

How safe is it to depend on?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

It has no known advisories, it does not render raw HTML by default, and it uses the MIT licence. It pulls in 11 direct dependencies, which become a fairly large tree of small unified packages. The Scorecard is weak at 4.1, with low marks for code review, branch protection, pinned dependencies and token permissions.

  • advisories total: 0 advisories
  • scorecard score: 4.1, with weak Code-Review and Branch-Protection
  • npm dependencies: 11 direct dependencies
  • npm license: MIT

GPT-6.2 Sol: 6.8, likely 5.6 to 7.9

The package has a permissive MIT license, safe rendering defaults, and no listed direct advisories. Its 11 direct dependencies add exposure, and an advisory in the Markdown conversion chain has a published patch. OpenSSF scored it 4.1 out of 10, with weak code review and zeroes for branch protection, dependency pinning, and token permissions. The latest GitHub release points to a signed commit, but npm publishing controls and the number of authorized publishers remain uncertain.

Good

  • It is safe by default: it builds React elements instead of injecting HTML, and it strips raw HTML unless you opt in.
  • It gives you full access to the remark and rehype plugin ecosystem, such as GFM, math, syntax highlighting and sanitizing.
  • The `components` prop lets you map any Markdown element to your own React component with typed props.
  • Its API is small and stable, so AI coding agents write correct code for it most of the time.

Bad

  • It re-parses the whole document on every update, so long streamed AI replies need manual memoizing per block.
  • It does nothing special for incomplete Markdown during streaming, which Streamdown handles out of the box.
  • There has been no release since 10.1.0 in March 2025, and only 5 commits in the last year.
  • It works only in React. Being ESM-only has caused bundler trouble, for example with React Native's Metro, and majors 9 and 10 removed props that people used.

The numbers

npm downloads, 4 weeks
226M ×7.4 in a year
GitHub stars
16k
Commits, 12 months
5
npm version
10.1.0 Mar 2025
Versions, 12 months
0
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
4.1 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (remarkjs/react-markdown), npm (react-markdown), 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