Description
react-quilljs is a React hook that wraps Quill, a rich text editor, so you can add a Quill editor to a React component. The hook is called useQuill. It returns a quill object for calling Quill's API, a quillRef to attach to the editor element, and the Quill class for registering modules, formats and imports. Options include the theme, which defaults to snow, plus modules and formats. You can pass an initial value or an onChange handler that uses Quill's text-change events. The README shows examples for adding plugins such as a counter and a magic-url module, for custom option sets and toolbars, and for a custom attached image upload. The package is SSR safe, has TypeScript support and no dependencies of its own, and the README describes it as unopinionated and tiny in size. It is aimed at React developers who want Quill's editing features through a hook-based API. The maintainer is listed in the README, and the project is MIT licensed.…
Highlights
- React hook for the Quill rich text editor
- Options for theme, modules and formats
- Initial value and onChange handler
- Plugin and custom image upload examples
- SSR safe with TypeScript support
Ratings & Reviews
No ratings yet
Be the first to rate react-quilljs.
People also visit

react-contenteditable
React component representing an element with editable contents
react-quilljs FAQ
What is react-quilljs?
A React hook wrapper for the Quill rich text editor.
What does useQuill return?
A quill object for Quill's API, a quillRef for the editor element, and the Quill class for registering modules.
Does it support TypeScript?
Yes. The README lists TypeScript support.
Can I add plugins?
Yes. The README shows examples of adding a counter plugin and a magic-url plugin.
What is the license?
MIT, according to the README.
What are the best react-quilljs alternatives?
Popular alternatives to react-quilljs include react-quill, @tinymce/tinymce-react and react-contenteditable. See all react-quilljs alternatives


















