
Regle
Headless, type safe form validation library for Vue built around a model based API, in the spirit of Vuelidate.
Regle validates Vue forms without dictating any markup. You pass your reactive state and a set of rules to the useRegle composable, and it returns a fully typed object with errors, dirty flags and validity for every field, including nested objects and collections.
Developers coming from Vuelidate will recognise the model based approach, while TypeScript users get autocompletion for rules and results. It supports async and custom rules, and can also validate against schemas from libraries such as Zod or Valibot.
Install @regle/core and @regle/rules to get started, or experiment in the online playground first.





