@quickflo/quickforms-vue
Vue 3 bindings for QuickForms.
Installation
sh
pnpm add @quickflo/quickforms @quickflo/quickforms-vuesh
npm install @quickflo/quickforms @quickflo/quickforms-vuesh
yarn add @quickflo/quickforms @quickflo/quickforms-vueComponents
DynamicForm
Main form component that generates fields from JSON Schema.
vue
<template>
<DynamicForm
:schema="schema"
v-model="formData"
:options="options"
@validation="handleValidation"
/>
</template>Props:
schema- JSON Schema definitionmodelValue- Form data (v-model)options- Form configuration
Events:
@update:modelValue- Form data changed@validation- Validation state changed
See Form Options API for complete options reference.
Field Components
Pre-built components for all field types:
StringField- Text inputsNumberField- Number inputsBooleanField- CheckboxesEnumField- Select dropdownsDateField- Date/time pickersObjectField- Nested objectsArrayField- Dynamic arraysOneOfField- Conditional schemas
Composables
useFormField
Hook for field state management.
typescript
const { value, errorMessage, label, hint } = useFormField(path, schema)useFormContext
Access form-level context.
typescript
const context = useFormContext()
// { readonly, disabled, schema, rootPath, context }Next Steps
- Getting Started - Build your first form
- API Reference - Complete component documentation
- Examples - See QuickForms in action