Constimport TextField from "@mui/material/TextField";
import Checkbox from "@mui/material/Checkbox";
import Typography from "@mui/material/Typography";
import Box from "@mui/material/Box";
import MenuItem from "@mui/material/MenuItem";
import FormControlLabel from "@mui/material/FormControlLabel";
import { createMuiResolver } from "schema-components/themes/mui";
const muiResolver = createMuiResolver({
TextField, Checkbox, Typography, Box, MenuItem, FormControlLabel,
});
<SchemaProvider resolver={muiResolver}>
<SchemaComponent schema={userSchema} value={user} onChange={setUser} />
</SchemaProvider>
Component resolver mapping schema field types to MUI (Material UI) primitives —
TextField,Checkbox,Typography, etc.This default export is built against minimal HTML stubs so it is usable without wiring up
@mui/materialfirst — handy for tests, stories, and tree-shaken bundles that want the resolver shape without the runtime dependency. For production usage call createMuiResolver with the real MUI element types.