ESC JSON Form React
React Renderer for Schema-Driven JSON Forms
React/Next.js renderer for the ESC JSON Form system. Pass a JSON value and optional schema, get a fully interactive form editor with type switching, nested object/array sections, rich text editing, and validation.
$ npm install esc-json-form-reactWhat we built
ESC JSON Form React is the React adapter built on top of esc-json-form-core. It renders a complete form UI from any JSON value — no manual field definitions required.
The <JsonFormEditor /> component handles all field rendering, type switching, validation state, error display, and nested object/array expansion. Pass value, onChange, and optionally a schema.
esc-editor is bundled as a dependency — string fields can be switched to a rich text editor mode directly from the type dropdown, making it useful for CMS-style content editing.
A programmatic API is also available: createReactJsonFormStore gives you the same store interface as esc-json-form-core with React-specific subscription hooks.
What it does
- 01
JsonFormEditor Component
<JsonFormEditor value={json} onChange={setJson} schema={schema} />— renders a complete form from any JSON. - 02
Supported Field Types
string, textarea, text editor (rich text via esc-editor), datetime, number, boolean, null, object, array.
- 03
Nested Sections
Objects and arrays render as expandable sections with add/remove controls for array items.
- 04
Schema Validation
Schema-defined rules surface inline validation messages. Supports required, minLength, and type constraints.
- 05
Rich Text Fields
Switch any string field to rich text editor mode — powered by esc-editor, bundled as a dependency.
- 06
Programmatic Store
createReactJsonFormStorefor programmatic get/set access outside of the component tree.
Built with
Want something like this built?
Tell us what you are building. We will come back with an architecture, a timeline, and a fixed scope — no obligation.