A powerful form system combining react-hook-form and zod for robust validation and type-safety.
const formSchema = z.object({
username: z.string().min(2),
email: z.string().email(),
});
const form = useForm({
resolver: zodResolver(formSchema),
});