Skip to content

umar8637/Formik-Forms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auth Form (#Sign In #Sign Up) React #Formik

A collection of React components for creating user authentication forms, including sign-up and sign-in functionalities.

Introduction

This project provides a set of reusable React components that allow you to quickly integrate user authentication forms into your web application. The components are built using the Formik library for form management and Yup for form validation.

Installation

To use these components in your React project, follow these steps:

  1. Install the required dependencies:

    npm install formik yup

Components

SignupForm

A component that renders a user sign-up form.

Props:

  • toggleForm: A function to toggle between sign-up and sign-in forms.

SignInForm

A component that renders a user sign-in form.

Props:

  • toggleForm: A function to toggle between sign-up and sign-in forms.

Auth

A component that toggles between the sign-up and sign-in forms.

FormikForms.webm