Skip to content

Practical example ready to use of implementing a React 18 form with react-hook-form, zod and Ant Design.

License

Notifications You must be signed in to change notification settings

iDouglasD/react-hook-form-antd

Repository files navigation

React Form with Vite, React Hook Form, Zod, and Ant Design

This repository provides a practical example of implementing a React form with React Hook Form, Zod, and Ant Design using Vite for quick and efficient development setup.

Features

  • Configured with Vite for fast development.
  • Utilizes React Hook Form for simplified state management and optimized performance.
  • Includes Zod for robust and intuitive data validation.
  • Integrated with Ant Design for beautiful UI components.

Usage

  1. Clone this repository:

    git clone https://github.com/iDouglasD/react-hook-form-antd.git
  2. Navigate into the project directory:

    cd react-hook-form-antd
  3. Install dependencies:

    npm install
  4. Start the development server:

    npm run dev
  5. Open your browser and navigate to http://localhost:5173 to see the form in action!

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.