Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The Vue Form Renderer is a schema-driven component that transforms a JSON schema into an interactive HTML form at runtime. Define fields, layouts, validations, expressions, conditional logic, and dependent fields in the schema to create dynamic forms without manually building each form in HTML.


Why choose the Syncfusion Vue Form Renderer?

Vue Form Renderer Schema image

Schema-driven forms

Render interactive forms from a JSON schema defining fields, layouts, validations, and runtime behavior at runtime.

Vue Form Renderer Validations image

Built-in validations

Apply built-in validation rules for required fields, formats, ranges, and custom business requirements across fields.

Vue Form Renderer Expressions Conditions image

Form logic

Use expressions and conditions to calculate field values and control field behavior based on user input at runtime.

Vue Form Renderer Dependent Dropdown image

Dependent dropdowns

Create cascading dropdowns by linking one field’s available values to selections made in another field in sequence.

Vue Form Renderer Builtin Controls image

Built-in field types

Use 25+ built-in field types for text, selection, dates, signatures, uploads, and other common inputs in applications.

Vue Form Renderer Responsiveness image

Responsive layout

Render forms that adapt to desktop, tablet, and mobile screens while preserving layout and usability across devices.

Vue Form Renderer Themes image

Customizable themes

Apply built-in themes like Material, Bootstrap 5, Tailwind, Fluent, and Fabric to match your application design needs.


Vue Form Renderer code example

Use the following React example to render a form from a JSON schema. Explore the live example to see schema-defined fields rendered at runtime.

<template>
    <div class="control-section">
        <div class="control_wrapper">
            <!-- Initialize Form Renderer -->
            <ejs-form-renderer id="form-renderer-control" :schema="formSchema"></ejs-form-renderer>
        </div>
    </div>
</template>
<script>
import Vue from 'vue';
import { FormRendererPlugin } from '@syncfusion/ej2-vue-form-renderer';
Vue.use(FormRendererPlugin);

export default {
data: function() {
    return {
        
    formSchema: {
        "version": "0.1.0",
        "properties": {
            "userName": {
                "name": "username",
                "type": "string",
                "label": "User Name",
                "textboxType": "text",
                "widget": "textbox"
            },
            "password": {
                "name": "password",
                "type": "string",
                "label": "Password",
                "textboxType": "password",
                "widget": "textbox",
                "labelPosition": "top"
            }
        },
        "layout": [
            {
                "type": "field",
                "propertyId": "userName"
            },
            {
                "type": "field",
                "propertyId": "password"
            }
        ]
    }
    };
}
}
</script>

JSON schema-based form rendering

Provide a JSON schema that describes the form fields, layout, validations, expressions, and conditions to generate an interactive HTML form at runtime. The schema serves as a declarative form definition that can be stored, versioned, localized, and loaded dynamically without rebuilding the application.

To create the schema without writing JSON manually, use the Syncfusion Form Builder—a visual drag-and-drop designer for assembling fields, configuring properties, previewing the form, and generating the JSON schema used for rendering.


Validations

Apply a comprehensive set of validation rules directly within the form schema to ensure that the data captured from users is accurate, consistent, and complete. Built-in rules include required, email, URL, date, number, range, and length, along with custom validation strings for business-specific logic.

Validations in Vue Form Renderer.


Expressions in Vue Form Renderer.

Expressions

Use expressions to compute field values, derive display text, and perform calculations on the fly as the user fills out the form. Expressions are written declaratively in the schema and evaluated automatically, with no need for manual event wiring.


Conditions

Drive dynamic form behavior with conditional rules defined in the schema. Show, hide, make read-only, or disable fields and sections based on the values of other fields or expressions, so the form adapts to user input without custom script actions.

Conditions in Vue Form Renderer.


Dependent dropdowns in Vue Form Renderer.

Dependent dropdowns

Build cascading dropdowns and other dependent form fields by wiring one control’s value to another through simple schema declarations. Common scenarios such as country–state, category–subcategory, and department–employee lists can be configured without writing any code.


Accessibility

Vue Form Renderer Keyboard image

Keyboard navigation

Interactive elements in a rendered form can be reached and operated using the keyboard. Users can tab between fields, trigger validations, submit the form, and reset the form without needing a mouse.

Vue Form Renderer Screen Reader image

Screen readers

Rendered forms use WAI-ARIA attributes to help screen readers identify fields, labels, and validation messages. This helps users with visual impairments interact with form content more effectively.

Vue Form Renderer Rtl image

Right to left (RTL)

Render forms in right-to-left mode for languages such as Arabic, Hebrew, and Persian. RTL support adjusts the layout, alignment, and supported controls for right-to-left interfaces.





Other supported frameworks

The Form Renderer is also available for React, Angular, and JavaScript. Explore the platform-specific options through the following links:

Supported browsers

Supports modern web browsers, including Chrome, Firefox, Edge, Safari, and Opera.

Supported browsers in Vue Form Renderer.

140+ VUE UI COMPONENTS

Standalone UI SDKs

Integrate the DataGrid, Chart, Scheduler, Gantt, Rich Text Editor, File Manager, and Diagram UI components into applications to enable rich interaction and visualization, delivering a seamless user experience.

Document Solutions

Integrate the PDF Viewer, DOCX Editor, Spreadsheet Editor, and document-processing libraries into the Vue applications to enable a smooth user experience.

Frequently Asked Questions

A Vue Form Renderer is a schema-driven component that converts a form definition into an interactive form at runtime. Instead of manually creating the form structure in HTML, the renderer uses the supplied schema to determine what should be displayed.

Define the form in a JSON schema and provide that schema to the renderer. At runtime, it interprets the definition and generates the corresponding interactive form. This provides a direct JSON-to-form workflow for applications that need to generate forms from JSON schema definitions

Yes. You can create forms from JSON that change their behavior based on user input. Conditional rules can show, hide, make fields read-only, or disable them; expressions can calculate values; and dependent dropdowns can update their available choices based on another field.

It keeps form structure and behavior in a reusable schema that can be stored, versioned, localized, and loaded dynamically. This approach is useful when applications need to render or update multiple forms without maintaining separate HTML templates for each one.

JSON schema forms can define the form fields, layout, validations, expressions, and conditions in one declarative definition. This keeps both the form structure and its configured behavior together instead of spreading the configuration across separate markup and scripts

The Vue Form Renderer is a commercial component. Eligible developers and organizations can use it through the Syncfusion Community license. Review the licensing page for the current eligibility requirements.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion® reduces customers’ development time.
Here are some of their experiences.

See Real Success Stories

Developers around the world trust Syncfusion’s Essential Studio to simplify complex projects and speed up delivery. With a vast library of UI controls, powerful SDKs, and reliable support, Essential Studio helps teams build enterprise-ready applications with confidence.

Read Our Customer Stories


Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion® is proud to hold the following industry awards.

Up arrow icon
Syncfusion Feedback