Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including slate-react with all npm packages installed. Try it out:

require("react/package.json"); // react is a peer dependency. require("react-dom/package.json"); // react-dom is a peer dependency. require("slate/package.json"); // slate is a peer dependency. var slateReact = require("slate-react")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

slate-react v0.59.0

Tools for building completely customizable richtext editors with React.

This package contains the React-specific logic for Slate. It's separated further into a series of directories:

  • Components — containing the React components for rendering Slate editors.
  • Hooks — containing a few React hooks for Slate editors.
  • Plugins — containing the React-specific plugins for Slate editors.
  • Utils — containing a few private convenience modules.

Feel free to poke around in each of them to learn more!


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free