import { useForm, Controller } from "react-hook-form"; code example Example: install react hook form npm install react-hook-form