regle

Community

Type-safe Vue 3 form validation, made simple.

Authorrafasoares
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Regle provides a type-safe, model-based approach to form validation in Vue 3, unifying rules, reactivity, and error handling in a single composable.

Core Features & Use Cases

  • Reactive, TypeScript-friendly rules system with a rich set of built-in validators and wrappers (withMessage, withParams, withAsync).
  • Flexible composition and modifiers for per-field and global validation behavior, including async rules, debouncing, and external server errors.
  • Use cases include complex, nested forms, dynamic rule sets, and seamless integration with server-side validation.

Quick Start

Create a small form with useRegle to enforce required and email validation on name and email fields.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: regle
Download link: https://github.com/rafasoares/rafasoares.com/archive/main.zip#regle

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.