Ready-made controllers
Text fields, selects, autocomplete, checkboxes, switches, radio groups, and date pickers — each aligned with MUI props and RHF’s control.
MUI v9 · React Hook Form · TypeScript
A focused set of controllers and a
FormFields
helper so you ship validated, accessible inputs faster — without re-wiring RHF on every project.
Less boilerplate between MUI and React Hook Form
Text fields, selects, autocomplete, checkboxes, switches, radio groups, and date pickers — each aligned with MUI props and RHF’s control.
Describe fields as data — names, types, grid layout, and props — and render a whole form region from one component.
Pair with Yup or Zod resolvers, Emotion, and MUI’s layout primitives. MIT licensed and built for real apps.
Install from npm alongside your MUI, Emotion, and React Hook Form peer dependencies.
pnpm
pnpm add mui-rhf-library
npm
npm install mui-rhf-library
yarn
yarn add mui-rhf-library
Drop-in controllers
import { TextFieldController, SelectController } from 'mui-rhf-library';
import { useForm } from 'react-hook-form';
export function Example() {
const { control } = useForm();
return (
<>
<TextFieldController
control={control}
name="name"
defaultValue=""
label="Full name"
/>
<SelectController
name="role"
label="Role"
control={control}
options={[
{ label: 'Admin', value: 'admin' },
{ label: 'Editor', value: 'editor' },
]}
/>
</>
);
}
Full API tables and migration notes live in the repository README .