vue-formify

Build powerful, type-safe forms in Vue.
8,534 63
Install
npm install vue-formify
Latest Version:3.0.1
Vue:3
License:MIT
Last Updated:Jul 6, 2026
Links: GitHub  ·  npm
Maintainer: mateenagy

Build powerful, type-safe forms in Vue.

VueFormify is a form-building library for Vue that simplifies creating both simple and complex forms. It offers type safety, schema validations and a minimal bundle size (~4kb gzipped), making it both secure and efficient.

Features

  • Type Safe: Ensures accurate data types and autocompletion across fields.
  • Validation: Use schema based validators like Zod, Valibot or ArkType.
  • Auto Collect Values: Seamlessly gathers form data.
  • Supports Nested Objects and Arrays: Easily handle complex data structures.
  • Easy Third-Party Integrations: Flexible to work with other libraries.
  • Customizable Components: Easily build and integrate custom components.
  • Lightweight: Small footprint for a faster, more responsive app.

📚 Documentation

Read more in the documentation

📦 Install

npm i vue-formify

💻 Usage

Basic

<script lang="ts" setup>
import { useForm } from 'vue-formify';

type FormData = {
  email: string;
}

const {
  Form,
  Field,
  Error,
  handleSubmit,
} = useForm<FormData>();

const sendForm = handleSubmit((data) => {
	console.log(data)
})

</script>

<template>
	<Form @submit="sendForm">
		<Field name="email" />
		<Error error-for="email" />
		<button>Send</button>
	</Form>
</template>

ArkType example

<script lang="ts" setup>
import { type } from 'arktype';
import { useForm } from 'vue-formify';

const { Form, Field, handleSubmit } = useForm({
	schema: type({
		first_name: 'string >= 1';
		last_name: 'string >= 1';
	})
});

const sendForm = handleSubmit((data) => {
	console.log(data);
});

</script>
<template>
	<Form @submit="sendForm">
		<Field name="first_name" />
		<Field name="last_name" />
		<button>Submit</button>
	</Form>
</template>

Related Packages

@retailcrm/vue-formulario

Vue Formulario is a library, inspired by Vue Formulate , that handles the core l...

86,689 3
@vueform/cli

Command-line tooling for Vueform projects.

145 0
@braid/vue-formulate

The easiest way to build forms in Vue.

451,602 2,238
@enso-ui/forms

Backend-driven form renderer and field components for Enso UI

23,403 5
vue-formulate

The easiest way to build forms in Vue with validation and vuex support.

4,367 7

Version History

Version Released Vue License
3.0.1 ^3 MIT
3.0.0 ^3 MIT
2.1.6 ^3 MIT
2.1.5 ^3 MIT
2.1.4 ^3 MIT
Pre-releases (2)
Version Released Vue License
2.0.0-1 ^3 MIT
2.0.0-0 ^3 MIT