Black Friday: 40% off every new license until December 1. Shop the sale

Build serious forms without wiring every field.

Define fields, validation, uploads, and multi-step flows in one Laravel form class. Render it in Vue 3 or React 19 with one component, and save the result to your Eloquent model.

Pascal BaljetBuilt by Pascal Baljet Creator of Inertia Table
ProjectKickoffForm.php
@inertiaui/form-vue renders this preview live from the form class. Every input works.

One class. The whole form.

Define the form in PHP and render it with one component. When a screen needs a custom layout, place the field components in your template yourself. Both ways use the same components and the same validation.

Define it in PHP

The form class holds the fields, labels, defaults, validation, visibility, and submit route. The frontend has nothing to keep in sync.

TextInputComboboxDatePickerRichTextRepeaterFileSliderOtpInputToggle+ 21 more
The form class API
PHPapp/Forms/OnboardingForm.php
class OnboardingForm extends Form
{
    public function fields(): array
    {
        return [
            TextInput::make('name')->required(),
            TextInput::make('email')->email()->precognitive(),
            Combobox::make('plan')->options(Plan::class),
            File::make('logo')->image()->mediaCollection('logos'),
            Submit::make('Create workspace'),
        ];
    }
}

Render it with one component

One component renders every field and handles Precognition validation, uploads, and submit state. The same form class renders in Vue 3 and React 19.

Basic usage
VUEOnboarding.vue
<script setup>
import { Form } from '@inertiaui/form-vue'

defineProps(['form'])
</script>

<template>
  <Form :form="form" />
</template>
import { Form } from '@inertiaui/form-react'

export default function Onboarding({ form }) {
  return <Form form={form} />
}

Validate and save

Type-hint the form class with #[Validate] and Laravel validates the request against the rules generated from your fields, like a Form Request. Then save() fills your model through Eloquent, so your fillable attributes, casts, and model events still apply. It skips hidden and unauthorized fields and stores uploads in the Media Library collections you declare.

Saving models
PHPapp/Http/Controllers/WorkspaceController.php
class WorkspaceController
{
    public function store(#[Validate] OnboardingForm $form)
    {
        $workspace = $form->save(new Workspace);

        return to_route('workspaces.show', $workspace);
    }

    public function update(
        #[Validate] OnboardingForm $form,
        Workspace $workspace,
    ) {
        $form->save($workspace);

        return back();
    }
}

Bring your own fields

Extend Field in PHP, build the matching component, and register it once. After that, any form class can use it like a built-in field, including its validation.

Building custom fields
PHPapp/Forms/Fields/StarRating.php
class StarRating extends Field
{
    use HasLabel;
    use HasValidationRules;

    protected int $maxStars = 5;

    public function maxStars(int $max): static
    {
        $this->maxStars = $max;

        return $this;
    }

    public function getComponent(): string
    {
        return 'StarRating';
    }

    public function toArray(): array
    {
        return array_merge(parent::toArray(), [
            'label' => $this->getLabel(),
            'maxStars' => $this->maxStars,
        ]);
    }
}
<script setup>
import { FieldWrapper, useFormField } from '@inertiaui/form-vue'

const props = defineProps(['name', 'label', 'maxStars'])

const { value, setValue, error, inputId } = useFormField(props)
</script>

<template>
  <FieldWrapper :field="props" :error="error" :input-id="inputId">
    <button
      v-for="star in props.maxStars"
      :key="star"
      type="button"
      @click="setValue(star)"
      v-text="star <= (value ?? 0) ? '★' : '☆'"
    />
  </FieldWrapper>
</template>
class ReviewForm extends Form
{
    public function fields(): array
    {
        return [
            TextInput::make('headline')->required(),

            StarRating::make('rating')
                ->maxStars(5)
                ->required(),

            Submit::make('Publish review'),
        ];
    }
}

Every input stands alone

Every input is also a plain Vue component and a plain React component. Bind it with v-model or controlled props and use it anywhere in your app, without a form class.

Standalone components
VUEArticleControls.vue
<script setup>
import { ref } from 'vue'
import { Combobox, TextInput, Toggle } from '@inertiaui/form-vue/components'

const title = ref('Launch notes')
const published = ref(true)
const status = ref('draft')
</script>

<template>
  <TextInput v-model="title" label="Title" />

  <Toggle v-model="published" label="Published" />

  <Combobox
    v-model="status"
    label="Status"
    :options="[
      { value: 'draft', label: 'Draft' },
      { value: 'published', label: 'Published' },
    ]"
  />
</template>

Real forms, rendered live.

Switch between Laravel form classes and themes. The package renders each preview from the serialized form class, so you see the real form, not a mockup.

Form class

Theme

Each theme is a few CSS variables. The package sets no palette or font stack of its own, so forms use your app's font and the colors you choose.

Laravel-native, all the way down.

The server handles validation, authorization, visibility rules, uploads, and saving. In the browser, slots, composables, and CSS variables let you replace or restyle any part.

Laravel Boost + Inertia Forms

Ask for the form, not the form mechanics.

With the Boost skill loaded, your AI agent knows the Inertia Forms API: fields, validation, uploads, model binding, wizards, and submit flows. Your prompt only has to describe the workflow your product needs.

The agent already knows the fields
Inputs, errors, uploads, validation feedback, and renderers follow Inertia Forms, so no prompt has to explain them again.
Less guessing, more product work
The agent maps your business rules and user flow onto Inertia Forms instead of inventing component state, upload paths, and submit handling.
  • Laravel Boost
  • Claude Code
  • Codex
  • Cursor
  • Gemini CLI

Every field, finished.

Each field handles the edge cases you would otherwise build yourself: masks, uploads, timezones, nested validation, records, tags, and reordering. Every entry below links to its documentation.

Text and input

Choices and records

Dates, values, and media

Editors and structure

Display

Shared JavaScript core

Built on our own foundation.

Inertia UI Vanilla is the framework-free JavaScript library under Inertia Forms, Modal, Notifications, and Table. Their Vue and React packages all use it for the interaction behavior they share.

Vanilla does not use any of these

Every shared interaction is in this one library, so the Vue and React packages behave the same way. A fix in Vanilla fixes both.

Owning this layer also means less adapter code and fewer workarounds for another library's assumptions. Inertia UI changes a behavior in Vanilla itself instead of waiting for an upstream release.

Pay once. No subscription.

A license covers one project and includes a year of updates and new features. Renew to keep getting them.

€119

€199 · Black Friday price until December 1

The Black Friday price replaces the €149 owner price. Discounts don't stack.

  • Vue 3 + React 19
  • 12 months of updates
  • Full source code
  • Boost skills included
  • No auto-renewal

Every license includes the full source of both the Vue and React packages. Another year of updates costs €159.

Every form on this page is the real package, rendered live. You have already tried it.

Get Inertia Forms

Need it for every project? Choose the unlimited license at checkout.