react-markdown
React component for rendering markdown with customizable component handling.
Markdown, editors and content npm MIT
Used in agent projects
360
2.8% of 12,697 public repos built with AI coding agents
Rank in markdown, editors and content
#1 of 46
by use in those projects
Downloads
37.2M
npm, last 7 days, react-markdown
GitHub stars
15.9K
last push Oct 3, 2026
How react-markdown is used
react-markdown is a dependency in 360 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (2.8%), #1 of 46 in markdown, editors and content. The most used alternative there is remark-gfm. Projects that use it most often also use Lucide React (72.5%), Tailwind Merge (65.0%), remark-gfm (58.9%). It is more common in projects set up for Roo Code (6.2%) than for OpenCode (2.5%).
Often used with react-markdown
| Lucide React | 72.5% of react-markdown projects · 3.7× more than average |
|---|---|
| Tailwind Merge | 65.0% of react-markdown projects · 3.9× more than average |
| remark-gfm | 58.9% of react-markdown projects · 26.0× more than average |
| Class Variance Authority | 58.1% of react-markdown projects · 4.1× more than average |
| Tailwind CSS | 88.6% of react-markdown projects · 2.6× more than average |
| clsx | 63.9% of react-markdown projects · 3.6× more than average |
| React | 99.2% of react-markdown projects · 2.3× more than average |
| Next.js | 67.5% of react-markdown projects · 3.0× more than average |
By coding agent
| Claude Code | 4.0% of projects set up for it |
|---|---|
| Cursor | 4.5% of projects set up for it |
| GitHub Copilot | 3.5% of projects set up for it |
| Gemini CLI | 5.9% of projects set up for it |
| OpenAI Codex | 4.0% of projects set up for it |
| Devin Desktop | 5.1% of projects set up for it |
| OpenCode | 2.5% of projects set up for it |
| Roo Code | 6.2% of projects set up for it |
Share of public repos configured for each agent that list react-markdown as a dependency.
Install
| Package | npm install react-markdown |
|---|---|
| Main stacks | Next.js (233), TypeScript / JavaScript (108), Python (13), PHP (2) |
| Example projects | NeurProjects/neur-app, JNTMTMTM/eIsland, 1600822305/AetherLink, 5pyj29s7cm-tech/LumiCore, hzrd149/nostrudel |
Alternatives to react-markdown
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| remark-gfm npm Remark plugin adding GitHub Flavored Markdown support for tables and strikethrough. |
288 (2.3%) | 44.5M | 1,249 | MIT |
| Jinja2 pypi Fast and expressive template engine for Python with powerful flexibility. |
175 (1.4%) | 145M | 11.8K | — |
| Marked npm Fast, efficient markdown parser for converting markdown to HTML. |
148 (1.2%) | 83.8M | 37.2K | MIT |
| React Syntax Highlighter npm React component for syntax highlighting code with Prism.js or Highlight.js. |
110 (0.9%) | 7.8M | 4,674 | MIT |
| gray-matter npm Parser extracting YAML/JSON front matter from markdown and text files. |
106 (0.8%) | 10.6M | 4,490 | MIT |
| Tiptap npm Headless Vue/React rich text editor framework with customizable extensions. |
105 (0.8%) | 18.7M | 38.7K | MIT |
| Pygments pypi Syntax highlighting library for code in Python supporting hundreds of programming languages. |
97 (0.8%) | 239M | 2,213 | — |
| Shiki npm Beautiful syntax highlighter powered by TextMate grammars with superior accuracy. |
89 (0.7%) | 24.9M | 13.9K | MIT |