@regle/core

Headless form validation library for Vue
1,763,690 512
Install
npm install @regle/core
Latest Version:1.29.5
Vue:3
License:MIT
Last Updated:Oct 13, 2026
Links: GitHub  ·  npm
Maintainer: desnoth

regle cover

Buy Me A Coffee

Regle

Regle \ʁɛɡl\ (French word for 'rule') is a Typescript-first model-based validation library for Vue 3. It's heavily inspired by Vuelidate.

📚 Documentation

Documentation

🎮 Play with it

Playground Simple demo Advanced Demo
Open in StackBlitz Open in StackBlitz

✨ Features

  • 🔌 Headless: Plug any UI or markup to the validation.
  • 🎯 Type safe: Full inference and autocompletion support.
  • 🌳 Model based: Your validation tree structure matches the data model.
  • 🎨 Style Agnostic: Works with any CSS framework or plain CSS.
  • 📦 Modular design: Expand Regle properties or default validation rules.
  • 🔄 Async validation: Handle asynchronous validations and pending states with ease.
  • 🌐 i18n Ready: Works with any i18n library.
  • 📕 Vuelidate like API: Regle's API mimics Vuelidate's API while improving it on a lot of areas.
  • ⚡️ SSR Ready: Full support for Server Side Rendering environments.
  • ✅ Alternative validation: Standard Schema spec validation support.

Related Packages

vue-form-ui

A set of Vue form components with complex validation

11,333
@basmilius/validation

Form validation for personal projects, built on Regle.

0 0
wizard-of-zod

A customisable form-stepper component for Shadcn-vue. Uses AutoForm and Zod.

630 1

Version History

Version Released Vue License
1.29.5 >=3.3.0 MIT
1.29.4 >=3.3.0 MIT
1.29.3 >=3.3.0 MIT
1.29.2 >=3.3.0 MIT
1.29.1 >=3.3.0 MIT
Pre-releases (91)
Version Released Vue License
1.28.0-beta.1 >=3.3.0 MIT
1.27.0-beta.2 >=3.3.0 MIT
1.27.0-beta.1 >=3.3.0 MIT
1.26.0-beta.7 >=3.3.0 MIT
1.26.0-beta.6 >=3.3.0 MIT