vuetify-forms

Build Vuetify 4 forms with ref-driven validation and i18n rules.

3|Updated Jan 14, 2023
One-click install
npx skills add https://github.com/e-xode/vue-ssr --skill vuetify-forms
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vuetify-forms
Source: https://github.com/e-xode/vue-ssr/tree/main/.claude/skills/vuetify-forms
Command: npx skills add https://github.com/e-xode/vue-ssr --skill vuetify-forms

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you build reliable, validated Vuetify 4 forms in a Vue 3 SSR app without hand-rolling form state and validation flows.

Core Features & Use Cases

  • Form wrapper with ref-based validation: Use v-form with a template ref to call form.value.validate() before submitting.
  • Reusable input + rule patterns: Apply consistent validation rule functions (including required/email/custom) that return i18n keys via t().
  • Common form controls: Compose forms with v-text-field, v-select, v-switch, v-checkbox, v-textarea, and v-radio-group using project defaults (outlined, comfortable density, rounded).
  • Use Case: Implement a login or signup workflow where the submit button only proceeds when validation passes and error messaging is consistent with your i18n setup.

Quick Start

Use the vuetify-forms skill to generate a login form for your Vue SSR project using v-form and v-text-field with required and email validation rules, then submit only after form.value.validate() reports the form as valid.

Frequently Asked Questions about vuetify-forms

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate form inputs in a Vue SSR app before submission?

To validate Vue SSR form inputs, use a `v-form` template ref and execute `form.value.validate()` inside an async submit flow, proceeding only when the returned `{ valid }` result is true.

How do I return translated validation messages in Vuetify?

Vuetify validation messages are translated by returning `t()` i18n keys from your validation rule functions, ensuring error messaging remains consistent with your project's internationalization setup.

What is the best way to structure a login form with Vuetify 4?

Building a Vuetify 4 login form involves wrapping `v-text-field` components inside a `v-form` with a ref, applying required and email validation rules, and gating the submit button on the validation state.

Can I use v-select and v-checkbox with ref-driven form validation in Vue?

Yes, you can compose forms with `v-select`, `v-checkbox`, `v-switch`, `v-textarea`, and `v-radio-group` inside a `v-form` ref, applying consistent validation rules and project UI defaults like outlined comfortable density.

Does Vuetify form validation work with Vue 3 server-side rendering?

Vuetify form validation works with Vue 3 SSR by binding `v-model` to inputs and triggering `form.value.validate()` on the client, allowing server-rendered forms to execute async validation flows seamlessly.