Installation
Base package
remix-validated-form
is the package containing the core components of the library.
npm install remix-validated-form
Validation library adapter
To support particular validation libraries, you also need an adapter for that library.
There are official adapters available for zod
and yup
.
If you're using a different library, you can create one
(see Validation library support).
- @rvf/zod
- @rvf/yup
npm install @rvf/zod
Note: If you're using zod
, you might also want to install zod-form-data.