@mantine-vue/form

Vue form management package equivalent to @mantine/form
1,388
Install
npm install @mantine-vue/form
Latest Version:3.6.0
Vue:3
License:MIT
Last Updated:Oct 17, 2026
Links: npm
Maintainer: hasan-alhawaj

@mantine-vue/form

Powerful form management and validation library for Vue, equivalent to @mantine/form.

Mantine Vue is an independent community port of Mantine for Vue 3. It is not affiliated with or endorsed by the Mantine team.

Installation

yarn add @mantine-vue/form

# or with npm
npm i @mantine-vue/form

Usage

<script setup>
import { useForm } from '@mantine-vue/form'

const form = useForm({
  initialValues: { name: '' },
  validate: {
    name: (value) => (value.length < 2 ? 'Name is too short' : null),
  },
})
</script>

<template>
  <form @submit.prevent="form.onSubmit((values) => console.log(values))">
    <input v-bind="form.getInputProps('name')" />
  </form>
</template>

Documentation

Full API and examples: mantine-vue.dev/form/use-form

Peer dependencies

  • vue ^3.5.0

License

MIT

Related Packages

@mantine-vue/table

A fully featured Vue 3 implementation of TanStack Vue Table

3,422
@mantine-vue/charts

Charts components built with Apache ECharts and Mantine Vue

3,282
@mantine-vue/schedule

Vue schedule and calendar components equivalent to @mantine/schedule

2,964
@mantine-vue/contextmenu

Desktop-grade context menu extension for Mantine Vue

2,744
@mantine-vue/notifications

Vue notifications system equivalent to @mantine/notifications

2,635

Version History

Version Released Vue License
3.6.0 ^3.5.0 MIT
3.5.0 ^3.5.0 MIT
3.4.0 ^3.5.0 MIT
3.3.0 ^3.5.0 MIT
3.2.0 ^3.5.0 MIT