Gathering detailed insights and metrics for react-hook-form-mui
Gathering detailed insights and metrics for react-hook-form-mui
Gathering detailed insights and metrics for react-hook-form-mui
Gathering detailed insights and metrics for react-hook-form-mui
mui-react-hook-form-plus
The complete type-safe material-ui and react-hook-form combo and beyond with simple api
mui-form-hook
An ui library base on MUI for React front-end apps.
@nwon/react-mui-hook-form
Making react forms easy - A connection of MUI and React Hook Form
@availity/mui-controlled-form
Availity MUI/react-hook-form controlled form components - part of the @availity/element design system
Material-UI form components ready to use with react-hook-form
npm install react-hook-form-mui
Typescript
Module System
Min. Node Version
Node Version
NPM Version
MUI pickers version 6 and some more improvements
Updated on Mar 30, 2023
Add readonly prop to DatePicker and DateTimePicker
Updated on Nov 18, 2022
Add DateTimePicker
Updated on Nov 14, 2022
Support small prop on MultiSelectElement
Updated on Sep 15, 2022
New Component
Updated on Aug 30, 2022
Restructure Repo as Monorepo and re-export react-hook-form API
Updated on Aug 29, 2022
JavaScript (98.64%)
TypeScript (1.09%)
HTML (0.28%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
618 Stars
569 Commits
124 Forks
8 Watchers
7 Branches
42 Contributors
Updated on Jun 27, 2025
Latest Version
7.6.2
Package Id
react-hook-form-mui@7.6.2
Unpacked Size
487.79 kB
Size
80.57 kB
File Count
52
NPM Version
9.6.6
Node Version
22.13.1
Published on
Jun 19, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
5
This project simplifies the use of react-hook-form
and Material-UI
. It provides opinionated use cases with following
components:
Please check out the demo for the element overview.
1# npm install react-hook-form react-hook-form-mui 2# yarn add react-hook-form react-hook-form-mui
This package utilizes pickers and icons of the MUI ecosystem. If you make use of it add them to your app.
1# npm install @mui/x-date-pickers @mui/icons-material 2# yarn add @mui/x-date-pickers @mui/icons-material
From versions >= 3.x of this package MUI v5 is in use. Versions of 1 & 2 using Material-UI v4
1import {FormContainer, TextFieldElement} from 'react-hook-form-mui' 2 3function Form() { 4 return ( 5 <FormContainer 6 defaultValues={{name: ''}} 7 onSuccess={data => console.log(data)} 8 > 9 <TextFieldElement name="name" label="Name" required/> 10 </FormContainer> 11 ) 12}
You can have a look at the example
folder which sets up NextJS with react-hook-form-mui
formContext
The <FormContainer />
wires up a form and you can create sub-components which either make use
of useFormContext() | useWatch()
to react to form values.
Check out Storybook: Demo
You will find examples and use cases.
If you are using the DatepickerElement
keep in mind that you have to wrap your form with a provider:
Examples for Dayjs or DateFns provider (used in the demo):
For convenient reasons this package is re-exporting react-hook-form
which is especially required if you have context
issues of React.
1import {useWatch} from 'react-hook-form-mui' // instead of react-hook-form 2 3const MySubmit = () => { 4 const value = useWatch('fieldName') 5 return ( 6 <Button disabled={!value}>Submit</Button> 7 ) 8}
This project uses tsup
to wrap the package for npm
.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 12/13 approved changesets -- score normalized to 9
Reason
8 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 7
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
23 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More