Coder Social home page Coder Social logo

alexpeev9 / reusable-react-form-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 166 KB

πŸ–ΌοΈ React application which allows you to easily create reusable forms with various input fields and split them into different steps.

Home Page: https://registration-form-app-one.vercel.app

JavaScript 2.24% HTML 1.91% TypeScript 95.36% CSS 0.50%
chakra-ui react react-hook-form typescript zod upload-file upload-image cypress vercel vite

reusable-react-form-app's Introduction

Reusable React Form App πŸ› οΈ

Check out the live version on registration-form-app-one.vercel.app

This application allows you to easily create reusable forms with various input fields and split them into different steps.

Features

✏️ Easily add different input fields to your form
πŸšΆβ€β™‚οΈ Split your form into multiple steps for better organization
πŸ“€ Allow users to upload avatars or other image files 🎨 Change the theme of the application

Example: Registration Form

In the provided example, a registration form is created with two steps:

  1. Step 1: Customer adds their first name, last name, password, confirm password, and interests.
  2. Step 2: Customer uploads their avatar (image file).

Technologies Used

  • React
  • TypeScript
  • Chakra UI (for styling)
  • React Hook Form (for managing form state)
  • Zod (for form validation)
  • Cypress (for end-to-end testing)
  • Vite (for build tooling and development server)
  • Vercel (for site deployment)

How to Run the Project

To run the project locally, follow these steps:

  1. Clone the repository:
git clone https://github.com/alexpeev9/React-Registration-Form-App.git
  1. Navigate to the project directory:
cd React-Registration-Form-App
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev
  1. Preview the site

Open your browser and navigate to http://localhost:5173 to view the application.

Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.

reusable-react-form-app's People

Contributors

alexpeev9 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.