@vuetils/form

Tiny form validation library for Vue
10,354 3
Install
npm install @vuetils/form
Latest Version:0.2.7
Vue:3
License:MIT
Last Updated:Oct 23, 2026
Links: GitHub  ·  npm
Maintainer: yannicel

Tiny form validation library for Vue

pkg-size npm

Documentation

Check out the interactive documentation and demos

Features

  • ⚡️ Tiny - <5KB minified (2KB gzip)
  • 🔑 Typesafe - End-to-end typesafety with autocomplete
  • 🔌 Extensible - First party plugins and easy plugin API

Usage

<script setup>
import { UField, UForm, email, minLength, required, useForm } from '@vuetils/form';

const form = useForm({
  email: ['', [required, email]],
  password: ['', [required, minLength(6)]],
});
</script>

<template>
  <UForm :form="form">
    <UField>
      Email:
      <input type="email" name="email" />
    </UField>

    <UField>
      Password:
      <input type="password" name="password" />
    </UField>

    <button>Submit</button>
  </UForm>
</template>

Refer to the documentation for more details.

Changelog

The up to date changelog can be found here.

Contribution

Please read the Contributing Guide before making a pull request.

License

MIT License © 2023-present Yannic Ellhotka

Related Packages

vue-dog-form

The simplest vue 3 form validation plugin.

65,599 8
vue-form-2

Vue.js 2 form component

16,113 55
vform

Handle Laravel-Vue forms and validation with ease.

163,759 600
simple-vue-validator

lightweight yet flexible validation lib for vue.js

96,321 289
vue-formular

a comprehensive vue.js form component

4,451 43

Version History

Version Released Vue License
0.2.7 3.x MIT
0.2.6 3.x MIT
0.2.5 3.x MIT
0.2.4 3.x MIT
0.2.3 3.x MIT
Pre-releases (204)
Version Released Vue License
0.2.8-1722687774.35d80ba 3.4.35 MIT
0.2.8-1722687430.b6edcb9 3.4.35 MIT
0.2.8-1722687288.b6edcb9 3.4.27 MIT
0.2.8-1716127344.b6edcb9 3.4.27 MIT
0.2.8-1715107948.b6edcb9 3.4.27 MIT