Vue form libraries

Updated Nov 2026

Vue form libraries manage form values, validation rules, and error messages in Vue components. A validation library either binds rules to fields it manages or validates reactive models that the application already owns. These libraries let apps reject invalid input before it reaches a server.

Popularity

vee-validate has the most monthly downloads in this comparison, at 5.8M.

LibraryMonthly downloadsStarsLast releaseLicense
vee-validate
5.8M
11.3KJun 2025MIT
Vuetify
5.3M
Not on GitHubNov 2026MIT
Element Plus
3.1M
Not on GitHubNov 2026MIT
Vuelidate
2.4M
6.9KJun 2023MIT
Quasar
2.0M
Not on GitHubNov 2026MIT
Ant Design Vue
909.8K
Not on GitHubNov 2024MIT
PrimeVue Forms
805.9K
Not on GitHubNov 2026PrimeUI License
naive-ui
792.8K
Not on GitHubAug 2026MIT
Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

Libraries and code examples

vee-validate

Manages Vue form values, field bindings, and validation without prescribing the UI.

Downloads / mo
5.8M
Stars
11.3K
Last release
4.15.1
License
MIT

Strengths

  • Builds field models and props. Use defineField for bindings and handleSubmit for validated submissions.
  • Works with any chosen UI. Pair validation with native inputs or a component library.

Limitations

  • Form values are read-only. Use setFieldValue or setValues to update managed values.
  • Schema adapters need companion packages. Install the matching adapter before using Zod or Valibot schemas.

Quickstart

From README.md
$ npm install vee-validate@4.15.1 vue
import { useForm } from 'vee-validate';

export function useNameForm() {
  const form = useForm({
    initialValues: { name: '' },
    validationSchema: { name: value => Boolean(value) || 'Required' },
  });
  const [name, nameProps] = form.defineField('name');
  const submit = form.handleSubmit(values => console.log(values));
  return { name, nameProps, submit };
}

Provides a Material component framework for Vue.

Downloads / mo
5.3M
Last release
4.3.4
License
MIT

Quickstart

From VForm.tsx
$ npm install vuetify@4.3.4 vue
<script setup>
import { ref } from 'vue';
import { VForm, VTextField, VBtn } from 'vuetify/components';
const name = ref('');
async function submit(event) {
  const { valid } = await event;
  if (valid) console.log(name.value);
}
</script>
<template>
  <VForm @submit.prevent="submit">
    <VTextField v-model="name" :rules="[v => Boolean(v) || 'Required']" />
    <VBtn type="submit">Validate</VBtn>
  </VForm>
</template>

Provides a component library for Vue.

Downloads / mo
3.1M
Last release
2.14.8
License
MIT

Quickstart

From form.vue
$ npm install element-plus@2.14.8 vue
<script setup>
import { reactive, ref } from 'vue';
import { ElForm, ElFormItem } from 'element-plus';
const form = ref();
const model = reactive({ name: '' });
const rules = { name: [{ required: true, message: 'Required' }] };
function submit() {
  form.value.validate(valid => { if (valid) console.log(model.name); });
}
</script>
<template>
  <ElForm ref="form" :model="model" :rules="rules">
    <ElFormItem prop="name"><input v-model="model.name" /></ElFormItem>
    <button type="button" @click="submit">Validate</button>
  </ElForm>
</template>

Element Plus examples

From open-source projects on GitHub

Adds model-based validation to reactive Vue objects and refs.

Downloads / mo
2.4M
Stars
6.9K
Last release
2.0.3
License
MIT

Strengths

  • Validates existing reactive models. Keep the data in reactive objects or refs.
  • Shows server validation errors. Pass server messages through $externalResults to the matching fields.

Limitations

  • Receives long-term maintenance. Compare active alternatives before starting a new validation layer.
  • Prefer nested components for collections. forEach reruns every validator on every collection change.

Quickstart

From README.md
$ npm install @vuelidate/core@2.0.3 vue
<script setup>
import { reactive } from 'vue';
import useVuelidate from '@vuelidate/core';
const state = reactive({ name: '' });
const rules = { name: { required: value => Boolean(value) } };
const validation = useVuelidate(rules, state);
async function submit() {
  console.log(await validation.value.$validate());
}
</script>
<template>
  <form @submit.prevent="submit">
    <input v-model="state.name" /><button type="submit">Validate</button>
  </form>
</template>

Vuelidate examples

From open-source projects on GitHub

Provides accessible cross-platform Vue.js components for SPA, PWA, SSR, SSG, mobile, and desktop apps.

Downloads / mo
2.0M
Last release
2.35.5
License
MIT

Quickstart

From QForm.json
$ npm install quasar@2.35.5 vue
<script setup>
import { ref } from 'vue';
import { QForm, QInput, QBtn } from 'quasar';
const name = ref('');
function submit() { console.log(name.value); }
</script>
<template>
  <QForm @submit="submit">
    <QInput v-model="name" :rules="[v => Boolean(v) || 'Required']" />
    <QBtn type="submit" label="Validate" />
  </QForm>
</template>

Ant Design Vue

Implements the Ant Design enterprise-class design language in Vue.

Downloads / mo
909.8K
Last release
4.2.6
License
MIT

Quickstart

From index.en-US.md
$ npm install ant-design-vue@4.2.6 vue
<script setup>
import { reactive } from 'vue';
import { Form, FormItem, Input } from 'ant-design-vue';
const model = reactive({ name: '' });
const rules = { name: [{ required: true, message: 'Required' }] };
function finish(values) { console.log(values); }
</script>
<template>
  <Form :model="model" :rules="rules" @finish="finish">
    <FormItem name="name"><Input v-model:value="model.name" /></FormItem>
    <button type="submit">Validate</button>
  </Form>
</template>

PrimeVue Forms

Form state management and validation for PrimeVue.

Downloads / mo
805.9K
Last release
5.0.5
License
PrimeUI License

Quickstart

From index.d.ts
$ npm install @primevue/forms@5.0.5 vue
<script setup>
import { Form, FormField } from '@primevue/forms';
function submit({ values }) { console.log(values); }
</script>
<template>
  <Form :initialValues="{ email: '' }" @submit="submit">
    <FormField name="email" v-slot="field">
      <input type="email" v-bind="field.props" />
    </FormField>
    <button type="submit">Submit</button>
  </Form>
</template>

Provides a theme-customizable Vue component library written in TypeScript.

Downloads / mo
792.8K
Last release
2.45.3
License
MIT

Quickstart

From index.demo-entry.md
$ npm install naive-ui@2.45.3 vue
<script setup>
import { reactive, ref } from 'vue';
import { NForm, NFormItem } from 'naive-ui';
const form = ref();
const model = reactive({ name: '' });
const rules = { name: { required: true, message: 'Required' } };
function submit() {
  form.value.validate(errors => { if (!errors) console.log(model.name); });
}
</script>
<template>
  <NForm ref="form" :model="model" :rules="rules">
    <NFormItem path="name"><input v-model="model.name" /></NFormItem>
    <button type="button" @click="submit">Validate</button>
  </NForm>
</template>

FAQ

vee-validate suits forms that manage values, field bindings, and validation independent of the UI. Vuelidate suits validation added to existing reactive models. PrimeVue Forms suits apps built on PrimeVue.

vee-validate manages Vue form values, field bindings, and validation without prescribing the UI. Zod and Valibot schemas need a matching adapter package.

Vuelidate receives long-term maintenance. Teams starting a new validation layer can compare it with actively developed alternatives.

Vuelidate passes server messages to the matching fields through $externalResults.

For coding agents

Found your form library? Help your agent use it.

Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.

Run in your terminal

claude plugin install exa@claude-plugins-official