Craft.js

React framework for building extensible drag-and-drop page editors

Open-Source Low-Code Frameworks Open source · MIT Free plan Self-hostable
What is Craft.js? Craft.js is a React framework that provides the building blocks (state management, drag-and-drop, node tree, serialization) for creating your own page editor, while leaving the UI entirely to you. Components become editable by adding Craft hooks, and page state serializes to JSON for storage and rendering.

Best for: React teams building a bespoke page editor with full design control.

Craft.js at a glance

CategoryOpen-Source Low-Code Frameworks, Low-Code Portal & Front-End Builders
PricingFree (open source)
DeploymentSelf-hosted
Built forProfessional developers
Buildsweb
LicenceOpen source (MIT)
Code exportYes
VendorPrev Wong · founded 2019
GitHub stars8,765 · last commit 2025-02

Key features

  • React hooks for editable components
  • drag-and-drop node tree
  • JSON serialization
  • undo/redo
  • fully custom editor UI
  • rules for droppable regions

What you can build with Craft.js

  • custom page builders
  • CMS visual editors
  • email or document editors

Craft.js pricing

Open source. There is a free plan. Free and open source; self-host at no cost.

Prices change often. Check the vendor's pricing page before buying.

Pros and cons

Pros

  • Complete UI freedom
  • Idiomatic React API
  • MIT license

Cons

  • Slow release cadence since 2025
  • You build the whole UX yourself
  • No built-in component library

Integrations

ReactTypeScript

Craft.js alternatives

See all Craft.js alternatives →

Compare Craft.js

Frequently asked questions

What is Craft.js?

Craft.js is a React framework that provides the building blocks (state management, drag-and-drop, node tree, serialization) for creating your own page editor, while leaving the UI entirely to you. Components become editable by adding Craft hooks, and page state serializes to JSON for storage and rendering.

How much does Craft.js cost?

Craft.js pricing: Free (open source). Free and open source; self-host at no cost.

Is Craft.js open source?

Yes. Craft.js is open source under the MIT licence and its code is on GitHub at github.com/prevwong/craft.js.

Can Craft.js be self-hosted?

Yes. Craft.js supports self-hosted deployment.

What are the best alternatives to Craft.js?

Popular alternatives to Craft.js include GrapesJS, Puck, Builder.io, Plasmic, Brick Design. See the full list of Craft.js alternatives on lowcodeplatforms.org.

Who is Craft.js best for?

React teams building a bespoke page editor with full design control.