Hooks & Utilities
v1.0.0Added in 1.0.0
Zod rules with one set of messages (English and Romanian), react-hook-form glue and a pretend request, for the forms of blocks.
Fill the sign-up form and leave a field: its error appears under it and clears as you fix it. Submit with empty fields and every error shows at once, focus jumps to the first one. Switch the messages to the ready Romanian set, raise the password length or the minimum strength and try again. A valid form sends a pretend request and shows the result.
npx wingo-ui@latest add form-validationPro item: the CLI needs a Pro account. See plans
v.password({ minLength: 8, minScore: 2 })