API Reference

@rvf/yup

Yup validation adapter for React Validate Form, connecting Yup schemas to the RVF form controller.

Official Documentation ↗
CompatibilityThis documentation covers version v7.0.4. Check the official docs for the latest API surface.

Installation

npmnpm install @rvf/yup

Methods

@rvf/yup is yup validation adapter for react validate form, connecting yup schemas to the rvf form controller. This page documents the core methods, installation, and common usage patterns for the current stable release.

Installation

Install @rvf/yup with your preferred package manager using the command shown in the frontmatter. The package is published to the npm registry and ships with TypeScript types where applicable.

Core methods

The methods listed in the frontmatter cover the primary API surface. Each signature reflects the v1.0 release. Consult the official documentation linked in sourceUrl for advanced options, edge cases, and breaking changes between major versions.

Frequently asked questions

The faq section in the frontmatter answers the most common questions about @rvf/yup, including comparisons with alternatives, configuration tips, and runtime requirements. If your question is not covered, check the source URL for the full guide.

FAQ

What is RVF?
React Validate Form is a headless form controller; @rvf/yup is the Yup adapter.
Can I use zod instead?
Use @rvf/zod for Zod schemas; the core is adapter-agnostic.
Does it support async validation?
Yes. Yup async tests run on change or submit based on the mode option.