Skip to content
ViraStack
Products
Academy
New
About
Search docs
⌘K
Home
Sources
Contribute
Academy
Forms
Accessible forms validated with React Hook Form, Zod and masking, and kept safe on the server too.
Fundamentals
01
Controlled and uncontrolled forms
5 Docs
2 Articles
1 Repo
Who holds the value, FormData and the common mistakes.
02
React Hook Form basics
11 Docs
register, handleSubmit, formState and the validation mode.
03
Schemas and validation with Zod
13 Docs
Schemas, type inference, error messages and transforms.
04
React Hook Form with Zod
6 Docs
1 Repo
The resolver, input and output types, and rules across fields.
05
Showing errors and accessibility
10 Docs
2 Articles
Attaching the error to the field, focus and timing.
Advanced Use
06
Masking and regex
6 Docs
1 Article
The displayed value, the raw value and @virastack/mask.
07
Dynamic fields and multi-step forms
9 Docs
1 Repo
useFieldArray, Controller and validating step by step.
08
Forms with Server Actions
8 Docs
1 Repo
useActionState, Zod on the server and server errors.
09
Seller application form
Project
12 Docs
1 Repo
A multi-step, masked form validated on the server.
Previous track
Zustand
Next track
Vitest