@dallanj/vue-forms

Accessible, framework-neutral Vue form fields with optional Inertia integration
1,350
Install
npm install @dallanj/vue-forms
Latest Version:0.4.0
Vue:3
License:MIT
Last Updated:Sep 12, 2026
Links: GitHub  ·  npm
Maintainer: dallanj

@dallanj/vue-forms

Accessible Vue 3 form fields with framework-neutral error handling and Laravel 13-inspired defaults.

npm install @dallanj/vue-forms

Import the default Laravel 13-inspired stylesheet once in your application:

import '@dallanj/vue-forms/style.css';
<script setup lang="ts">
import { FormProvider, Input } from '@dallanj/vue-forms';
</script>

<template>
  <FormProvider :errors="errors" @clear-error="clearError">
    <Input v-model="form.email" name="email" label="Email" />
  </FormProvider>
</template>

Field IDs are derived from their name, so they remain stable during SSR hydration. When two forms on the same page use the same field names, give each provider a stable id to scope them:

<FormProvider id="billing">
  <Input name="email" label="Email" />
</FormProvider>

Chip is the standalone version of the chips MultiSelect shows for its selected options — useful for rendering things like applied filters:

<Chip label="Species: Dog" removable @remove="clearFilter('species')" />

Its remove affordance is a <button>. Inside another button, pass remove-as="span" (what MultiSelect does) to keep the markup valid.

Import @dallanj/vue-forms/style.css for the default theme or @dallanj/vue-forms/scss to configure Sass variables. Override CSS custom properties at application or component scope.

Inertia integration is optional:

import { InertiaFormProvider } from '@dallanj/vue-forms/inertia';

Related Packages

@formkit/core

The framework agnostic core of FormKit

6,311,049 4,779
@formkit/inputs

Commonly shared types for FormKit

5,256,579 4,779
@formkit/observer

Utility to wrap a FormKitNode in a dependency tracking observer proxy

5,049,667 4,779
@formkit/validation

Validation plugin for FormKit

5,032,259 4,779
@formkit/i18n

Internationalization layer for FormKit.

5,005,793 4,779

Version History

Version Released Vue License
0.4.0 ^3.5.0 MIT
0.3.0 ^3.5.0 MIT
0.2.3 ^3.5.0 MIT
0.2.0 ^3.5.0 MIT
0.1.1 ^3.5.0 MIT