A lightweight wrapper built on top of Vue Form Builder, providing additional features such as theming, localization, and easy external control through refs.
This component enhances the base form builder while keeping the original API intact.
- Theme Support – Switch between
lightanddarkthemes - Localization – Choose built-in locales like
en,fa, etc. - Custom Locale Data – Override any translation key using your own object
- Ref Access – Call FormBuilder methods programmatically
- Fully compatible with Vue Form Builder’s schema and v-model system
npm install @winkcor/vueform-builder
# or
yarn add @winkcor/vueform-builder
# or
pnpm add @winkcor/vueform-builderThis guide shows how to use the extended Form Builder component with:
v-modelrefaccesslocalethemecustom-locale-data
This example shows how to use the extended Form Builder with:
- A custom Vue form component (
VFormvueformcomponent with custom styles) - Automatic locale from
vue-i18n - Dynamic theme from
$colorMode - Built-in Form Builder stylesheet
<script lang="ts" setup>
import { VForm } from '#components';
import { FormBuilder } from '@winkcor/vueform-builder';
import '@winkcor/vueform-builder/style.css';
</script>
<template>
<FormBuilder :form-component="VForm" :locale="locale" theme="dark"
</template>Huge thanks to our amazing sponsors! Your support helps keep this project alive and actively maintained.
This project is licensed under the MIT License - SEE the LICENSE file for details