Vue Hooks Building Forms With Vue Composition API

Vue Hooks Building forms with the Hook Form allows you to easily create HTML forms using the Vue Configuration API.

vue form builder drag and drop, vue dynamic form builder, vue 3 form builder, vuetify form builder, vue form example, form builder github

Javascript Countdown/Stopwatch Timer Hooks For Vue

How to make use of it:

Install and download:

# Yarn
$ yarn add vue-hooks-form
$ npm i vue-hooks-form --save

1. Import the Hooks Form module.

import { useForm } from 'vue-hooks-form'

2. In your application template:

  <form @submit="onSubmit">
    <input v-model="username.value" :ref="username.ref" />
    <p v-if="username.error">{{ username.error.message }}</p>
    <input v-model="password.value" :ref="password.ref" type="password" />
    <p v-if="password.error">{{ password.error.message }}</p>
    <button type="submit">submit</button>

3. Setup your form.

export default {
  setup() {
    const { useField, handleSubmit } = useForm({
      defaultValues: {},
    const username = useField('username', {
      rule: { required: true },
    const password = useField('password', {
      rule: {
        required: true,
        min: 6,
        max: 10,
    const onSubmit = (data) => console.log(data)
    return {
      onSubmit: handleSubmit(onSubmit),

Form Builder With Vue Composition API, Vue Hooks Form Plugin/Github

See Demo And Download

Official Website(beizhedenglong): Click Here

This superior jQuery/javascript plugin is developed by beizhedenglong. For extra Advanced Usages, please go to the official website.

Related Posts


Adding Zoom-on-Wheel and Pan-on-Drag to Inline SVG Elements

Vanilla-js module for adding zoom and panning behavior when dragging to SVG embedded elements. A lightweight Vanilla JavaScript plugin that enables zoom and pan functions on an…


Sorting HTML Table Vanilla JavaScript Library | Sortable.js

Sortable – Small JS vanilla table sorter makes any table with class = “sortable“, er, sortable. That is, the user can click the table header and change…


WYSIWYG Rich Text Editor With jQuery And FontAwesome | RichText

RichText jQuery implementation for WYSIWYG Rich Text Editor which uses Font Awesome Iconic Font for editor icons. It is licensed under AGPL-3.0. Initialize editor Simply call .richText() on your jQuery(‘textarea’) or jQuery(‘input’)…


[Autocomplete] Email Domain Suggestions Like Gmail, Outlook, or More | email-genie

Email Genie allows auto-completion in the email field by providing a list of domain suggestions (,, etc.). This package is lightweight, flexible, compatible with libraries (jQuery,…


[Generator] JavaScript Library for Creating Squircley Magic ✨ | squircley.js

squircley.js is the core magic of Squirclular ✨ from wrapped in a simple 0-dependency JavaScript library. squircley.js can generate SVG files, add square backgrounds to DOM…