Jlio Xavier Da Silva, N. nefejames. step 2: Write the following command to install jquery using npm : npm install jquery --save step 3: Now, import $ from jquery into your jsx file where you need to use. The nav component displays the main menu bar in the example. Simplifying a React form with the Formik Field Component - Part 6. WebValidator function to validate the cell input value. The Formik handles the form using initialValues to store the initial state of the input field values , validationSchema for validation condtions (using yup) and onSubmit to handle the values of the form.