A React form generator based on JSON Schema that builds forms from schema definitions, ported from Angular Schema Form. Current version 1.0.23 (pre-1.0, likely unstable API). Uses Material-UI components for rendering. Release cadence is low, with gaps of years between updates. Key differentiator: dynamic form generation from JSON schema with live demo capability. Heavily dependent on many peer dependencies (MUI v7, CodeMirror 6, Emotion, React 19). Supports custom field injection via mapper prop. Maintenance status: appears active but versioning suggests early stage.
npm install react-schema-formNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a simple form from JSON schema with name and age fields, updates model on change.
Pin exact version or carefully test upgrades.
Ensure your project uses React 19+ and @mui/material ^7.3.6.
Review peerDependencies before install; consider using npm install --legacy-peer-deps if conflicts arise.
Use named import for both CommonJS and ESM; watch for module type changes.
Refer to https://github.com/json-schema-form/json-schema-form/wiki/Documentation for format details.
Run: npm install react-schema-form --save
Change import to: import { SchemaForm } from 'react-schema-form'Ensure you pass a valid schema object: <SchemaForm schema={mySchema} ... />Ensure you use the SchemaForm component correctly and not a wrapper that spreads props.