MDX
Write JSX directly in Markdown for rich, interactive content and documentation.
3. Used by agents' projects
Dependency in 65 public GitHub projects set up for AI coding agents that we scanned (1.0%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What MDX does
Write JSX directly in Markdown for rich, interactive content and documentation.
MDX popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How MDX is used
- MDX is a dependency in 65 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.3% of the 4,867 JavaScript/TypeScript ones), #10 of 149 in markdown, editors and content.
- Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 119; those are left out of every share on this page.
- The most used alternative in our scan is react-markdown (248 projects).
- Projects that use it most often also use clsx (66.2%), remark-gfm (46.2%), React (76.9%).
By coding agent
Often used with
More about MDX
Funding
- GitHub Sponsors: https://github.com/unifiedjs
- Open Collective: https://opencollective.com/unified
- thanks.dev: https://thanks.dev/u/gh/mdx-js
- 25 GitHub sponsors
Agent Skills for it
- react-modernization: Upgrade React applications to latest versions, migrate from class components to hooks, and adopt concurrent features. Use when modernizing R
- react-native-dev: React Native and Expo development guide covering components, styling, animations, navigation, state management, forms, networking, performan
- react-expert: Use when building React 18+ applications in .jsx or .tsx files, Next.js App Router projects, or create-react-app setups. Creates components,
- react-vite-dashboard: Convert Stitch designs into production React + Vite dashboards with TanStack Query, accessible tokens from DESIGN.md, and Web3-ready pattern
- react-composition-patterns: React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component librarie
- react-hook-form: React Hook Form performance optimization for client-side form validation using useForm, useWatch, useController, useFieldArray, the subscrib
Head to head
- Marked vs MDX used together in 10 projects
- react-markdown vs MDX used together in 13 projects
More in Markdown, editors and content
Alternatives
MDX This page
React component for rendering markdown with customizable component handling.
Fast, efficient markdown parser for converting markdown to HTML.
Get started
Install it.
npm install @mdx-js/reactNo step-by-step start for MDX yet: we have not written its hand-checked card.