@rjsf/material-ui
Material-UI theme, fields and widgets for react-jsonschema-form
.
Explore the docs »
View Playground
·
Report Bug
·
Request Feature
About The Project
Exports material-ui
theme, fields and widgets for react-jsonschema-form
.
Built With
Getting Started
Prerequisites
-
@material-ui/core >= 4.2.0
(in 4.2.0, theslider
component was added to the core) @material-ui/icons
@rjsf/core >= 2.0.0
yarn add @material-ui/core @material-ui/icons @rjsf/core
Installation
yarn add @rjsf/material-ui
Usage
import Form from '@rjsf/material-ui';
or
import { withTheme } from '@rjsf/core';
import { Theme as MuiTheme } from '@rjsf/material-ui';
const Form = withTheme(MuiTheme);