React rich-text editor libraries

Updated Nov 2026

React rich text editor libraries put an editable document, with formatting such as headings, lists, and links, into a React app. These libraries supply the editing surface in note apps, content management systems, and comment boxes.

Popularity

@tiptap/react has the most monthly downloads in this comparison, at 112.3M.

LibraryMonthly downloadsStarsLast releaseLicense
@tiptap/react
112.3M
39.1KNov 2026MIT
@lexical/react
30.7M
24.0KOct 2026MIT
ReactQuill
15.6M
7.0KAug 2022MIT
slate-react
14.9M
31.7KNov 2026MIT
@mdxeditor/editor
7.7M
3.7KNov 2026MIT
@blocknote/react
3.8M
10.4KOct 2026MPL-2.0
react-quill-new
3.4M
168Feb 2026MIT
@tinymce/tinymce-react
3.3M
1.1KOct 2026MIT
Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

Features compared

LibraryHTML valueMarkdown outputSupplied toolbar
@tiptap/reactBuilt-inVia pluginUnsupported
@lexical/reactVia pluginVia pluginUnsupported
ReactQuillBuilt-inUnsupportedBuilt-in
slate-reactUnsupportedUnsupportedUndocumented
@mdxeditor/editorBuilt-inBuilt-inBuilt-in
@blocknote/reactBuilt-inBuilt-inVia plugin
react-quill-newBuilt-inUnsupportedBuilt-in
@tinymce/tinymce-reactBuilt-inVia pluginBuilt-in
Built-inVia pluginNot supportedNot documented

Libraries and code examples

@tiptap/react

@tiptap/react connects Tiptap, a headless rich text editor built on ProseMirror, to React. useEditor creates an editor from a list of extensions, such as StarterKit for paragraphs, headings, lists, and bold and italic text, and EditorContent renders the editable area. The editor ships no toolbar or styles, and the app builds its own interface around the editor's commands. Comments, versioning, document conversion, and AI features are Pro extensions that need a subscription.

Downloads / mo
112.3M
Stars
39.1K
Last release
3.34.0
License
MIT

Strengths

  • Provides editor hooks and rendering. Create the editor with useEditor and render it through EditorContent.
  • Supports React-rendered custom nodes. Use ReactNodeViewRenderer for interactive document components.

Limitations

  • Features come from extensions. Each node, mark, and behavior is an extension added to the editor, such as StarterKit.
  • Next.js needs a setting. Server-rendered React setups pass immediatelyRender: false to useEditor.
  • Paid Pro extensions. Comments, versioning, document conversion, and AI features need a Tiptap subscription.

Quickstart

From react.md
$ npm install react react-dom @tiptap/react @tiptap/pm @tiptap/starter-kit
import { useEditor, EditorContent } from '@tiptap/react';
import StarterKit from '@tiptap/starter-kit';
export default function App() {
  const editor = useEditor({ extensions: [StarterKit], content: '<p>Hello</p>', immediatelyRender: false });
  return <EditorContent editor={editor} />;
}

@lexical/react

@lexical/react provides the React components and hooks for Lexical, an editor framework from Meta. LexicalExtensionComposer creates an editor from one root extension, extensions such as RichTextExtension and HistoryExtension add editing behavior, and ContentEditable renders the editable area. Lexical keeps the document as an editor state separate from the DOM and serializes it to JSON, with HTML and Markdown conversion in optional packages.

Downloads / mo
30.7M
Stars
24.0K
Last release
0.53.0
License
MIT

Strengths

  • Disposes composer-owned editors. The extension composer disposes its editor when the component unmounts.
  • Keeps immutable editor snapshots. Editor state is separate from the rendered DOM.

Limitations

  • Extension identity matters. A new root extension object recreates the editor. The extension is defined outside the component.
  • One version for all packages. lexical and every @lexical package install at the same version.
  • Toolbar built by the app. Lexical ships no toolbar; the official rich text example supplies its own Toolbar component.

Quickstart

From react.md
$ npm install react react-dom lexical@0.53.0 @lexical/react@0.53.0 @lexical/rich-text@0.53.0
import { LexicalExtensionComposer } from '@lexical/react/LexicalExtensionComposer';
import { RichTextExtension } from '@lexical/rich-text';
import { defineExtension } from 'lexical';
const extension = defineExtension({ name: 'example', namespace: 'example', dependencies: [RichTextExtension] });
export default function App() {
  return <LexicalExtensionComposer extension={extension} />;
}

@lexical/react examples

From open-source projects on GitHub

ReactQuill

ReactQuill wraps Quill, a rich text editor with its own toolbar and the snow and bubble themes, in a React component. The component takes value and onChange and accepts either HTML or a Quill Delta object as the value. Custom toolbars and formats register on the underlying Quill instance. The README now notes that Quill can run in React without this library.

Downloads / mo
15.6M
Stars
7.0K
Last release
2.0.0
License
MIT

Strengths

  • Supports HTML and Delta values. Use HTML text or a full Delta object as the editor value.
  • Exposes custom Quill formats. Register Parchment formats with the component’s Quill instance.

Limitations

  • External values overwrite edits. Setting value again replaces the content, including edits already made in the editor.
  • No React nineteen in peers. The declared peer range stops at React eighteen; react-quill-new covers newer React versions.
  • Change deltas are partial. The delta passed to onChange describes one change, while editor.getContents() returns the whole document.

Quickstart

From README.md
$ npm install react@18 react-dom@18 react-quill
import { useState } from 'react';
import ReactQuill from 'react-quill';
import 'react-quill/dist/quill.snow.css';
export default function App() {
  const [value, setValue] = useState('');
  return <ReactQuill theme='snow' value={value} onChange={setValue} />;
}

slate-react

slate-react renders Slate documents in React. Slate keeps a document as a tree of JSON nodes, and the Slate provider holds an editor created with withReact(createEditor()) along with its starting value. Editable renders the document, and renderElement and renderLeaf choose the React components that draw each block and text span. Output to HTML or Markdown comes from serializers that the app writes over those nodes.

Downloads / mo
14.9M
Stars
31.7K
Last release
0.147.6
License
MIT

Strengths

  • Custom block and text rendering. renderElement and renderLeaf choose the React components for each block and text span.
  • Editor context hooks. useSlate gives any component inside the provider the current editor.

Limitations

  • Initial value only. The initialValue prop sets the starting content; later changes go through editor operations.
  • Renderers forward attributes. Custom block renderers spread Slate's attributes on their top element and render children.
  • No serializers included. HTML and Markdown output comes from code the app writes.

Quickstart

From installing-slate.md
$ npm install react react-dom slate slate-react
import { useState } from 'react';
import { createEditor } from 'slate';
import { Slate, Editable, withReact } from 'slate-react';
export default function App() {
  const [editor] = useState(() => withReact(createEditor()));
  return <Slate editor={editor} initialValue={[{ type: 'paragraph', children: [{ text: 'Hello' }] }]}><Editable /></Slate>;
}

@mdxeditor/editor

MDXEditor is a React component that edits Markdown as rich text. The markdown prop sets the starting document, and the editor hands back Markdown. Plugins such as headingsPlugin, listsPlugin, quotePlugin, and markdownShortcutPlugin turn on each feature, and a toolbar plugin adds the supplied toolbar. The package's stylesheet is imported next to the component.

Downloads / mo
7.7M
Stars
3.7K
Last release
4.5.0
License
MIT

Strengths

  • Markdown in and out. The document loads from and saves to a Markdown string.
  • One plugin per feature. Headings, lists, quotes, and shortcuts each come from a plugin passed in plugins.

Limitations

  • Client rendering only. In Next.js, the editor and its plugins load on the client through dynamic with ssr: false.
  • Stylesheet imported separately. The @mdxeditor/editor/style.css file is imported alongside the component.

Quickstart

From getting-started.md
$ npm install react react-dom @mdxeditor/editor
import { MDXEditor } from '@mdxeditor/editor';
import '@mdxeditor/editor/style.css';
export default function App() {
  return <MDXEditor markdown='Hello world' />;
}

@mdxeditor/editor examples

From open-source projects on GitHub

@blocknote/react

BlockNote is a block-based editor in the style of Notion, built on ProseMirror and Tiptap. useCreateBlockNote creates an editor, and BlockNoteView renders it with toolbars and menus from one of three UI packages: Mantine, shadcn, or Ariakit. Each paragraph, heading, or list item is a block, and the editor's own block JSON keeps more of a document than its Markdown and HTML exports.

Downloads / mo
3.8M
Stars
10.4K
Last release
0.57.0
License
MPL-2.0

Strengths

  • Choice of UI kit. The editor interface comes in Mantine, shadcn, and Ariakit versions.
  • Toolbar adapts on mobile. On touch devices, the formatting toolbar moves above the on-screen keyboard.

Limitations

  • Client-only component. In Next.js and other server-rendered frameworks, server rendering is turned off for the editor.
  • Lossy Markdown export. Markdown and HTML exports drop details that the block JSON keeps.

Quickstart

From getting-started.md
$ npm install react react-dom @blocknote/core @blocknote/react @blocknote/mantine @mantine/core @mantine/hooks @mantine/utils
import { useCreateBlockNote } from '@blocknote/react';
import { BlockNoteView } from '@blocknote/mantine';
import '@blocknote/core/fonts/inter.css';
import '@blocknote/mantine/style.css';
export default function App() {
  const editor = useCreateBlockNote();
  return <BlockNoteView editor={editor} />;
}

@blocknote/react examples

From open-source projects on GitHub

react-quill-new

react-quill-new is a fork of ReactQuill for the current Quill release, still compatible with the older one, started after the original package stopped being maintained. Its ReactQuill component keeps the same props, including value, onChange, theme, and modules. The component recreates the editor when modules, formats, or theme change, and ref.getEditor() returns the underlying Quill instance.

Downloads / mo
3.4M
Stars
168
Last release
3.8.3
License
MIT

Strengths

  • Replaces react-quill. Code written for react-quill switches over by changing the import.
  • Current React versions. The peer range includes React nineteen.

Limitations

  • Deltas aren't values. The delta argument from onChange isn't passed back into value; editor.getContents() returns the full Delta.

Quickstart

From README.md
$ npm install react react-dom react-quill-new
import { useState } from 'react';
import ReactQuill from 'react-quill-new';
import 'react-quill-new/dist/quill.snow.css';
export default function App() {
  const [value, setValue] = useState('');
  return <ReactQuill theme='snow' value={value} onChange={setValue} />;
}

react-quill-new examples

From open-source projects on GitHub
(imgUrl: string) => {
    const quill = quillRef.current?.getEditor();
    if (!quill) return;
    const range = quill.getSelection();
    const index = range ? range.index : quill.getLength();
    quill.insertEmbed(index, 'image', imgUrl);
    quill.setSelection(index + 1);
  }

@tinymce/tinymce-react

@tinymce/tinymce-react is the official React component for TinyMCE, an editor with menus, a toolbar, and plugins for lists, links, images, tables, and more. The Editor component takes an init object for plugins and toolbar layout, an initialValue, and an onInit callback that returns the editor instance, whose getContent() method returns HTML. TinyMCE itself loads from Tiny Cloud with an API key or from a copy the app hosts.

Downloads / mo
3.3M
Stars
1.1K
Last release
6.3.1
License
MIT

Strengths

  • Toolbar and plugins included. Lists, links, images, tables, and search and replace turn on through the plugins list.
  • HTML content. getContent() returns the document as an HTML string.

Limitations

  • Cloud key or self-hosting. Loading TinyMCE from Tiny Cloud needs an API key; the alternative is hosting TinyMCE with the app.
  • Markdown through a plugin. Markdown input and output come from a TinyMCE plugin.

Quickstart

From react-ref.md
$ npm install react react-dom @tinymce/tinymce-react
import { Editor } from '@tinymce/tinymce-react';
export default function App() {
  return <Editor apiKey='YOUR_TINY_CLOUD_API_KEY' initialValue='<p>Hello</p>' />;
}

FAQ

For a custom editor interface, use Tiptap or Lexical, which handle the document and leave the toolbar to the app. For a finished editor with a toolbar, use TinyMCE or react-quill-new. For Markdown content, use MDXEditor, and for Notion-style blocks, use BlockNote.

Both are headless, and the app builds the toolbar. Tiptap is built on ProseMirror and adds features through extensions, some of them paid Pro extensions. Lexical, from Meta, builds an editor from one root extension and keeps the document as an editor state that serializes to JSON.

Quill, used through react-quill-new, is a finished editor with a toolbar and themes, and stores content as HTML or a Delta. Tiptap ships no interface, and the app builds the toolbar and controls the editor's markup.

Tiptap assembles an editor from ready-made extensions for nodes and marks. Slate supplies the editing model and leaves rendering and serialization to the app, through renderElement, renderLeaf, and serializers written over its JSON nodes.

The original react-quill package lists React versions up to eighteen, and its README notes that Quill can be used with React without it. react-quill-new is a maintained fork for the current Quill release that supports React nineteen.

MDXEditor loads a Markdown string through its markdown prop and edits it as rich text. Tiptap, Lexical, and TinyMCE handle Markdown through extra packages or plugins.

For coding agents

Found your rich-text editor library? Help your agent use it.

Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.

Run in your terminal

claude plugin install exa@claude-plugins-official