Form
Form
Overview
A package for creating controlled forms in React with built-in Zod validation.
You own and control the rendered markup while the hooks take care of the state and validation.
Installation
Required dependencies
This package relies on React hooks and thus requires version 16.3 or higher.
# npm
npm i --save @weser/form
# yarn
yarn add @weser/form
# pnpm
pnpm add @weser/form
Motivation
There are a dozen of form libraries out there already, so why create another one?
Well, I wanted to create a form library that is simple, lightweight and easy to use without sacrificing performance.
Less boilerplate and more opinionated about how forms should be built.
This is not a one-size-fits-all solution, but rather my very own codified approach to building forms.
Benefits
This package provides a simple API for building forms with built-in Zod validation.
© 2024-present Robin Weser. All Rights Reserved.