@piplup/rhf-adaptersmui-material
Installation — @piplup/rhf-adapters (@mui/material)
Material UI adapters and element wrappers for connecting MUI components to React Hook Form.
@piplup/rhf-adapters/mui-material provides pre-integrated Material UI components and adapter hooks for React Hook Form.
First, install the core packages, if not installed already:
npm install @piplup/rhf-core react-hook-formThen install the adapters package together with the MUI Material peer dependencies:
npm install @piplup/rhf-adapters @mui/material @emotion/react @emotion/styledImport
import {
MuiTextFieldElement,
useMuiTextFieldAdapter,
} from "@piplup/rhf-adapters/mui-material";Use /mui-material subpath when you want MUI components to participate in form state, validation, helper text composition, and react-hook-form controlled value handling without writing the wiring yourself.