Skip to content

Requirements

Inertia Modal's major version is aligned with Inertia.js:

Inertia ModalInertia.jsLaravelStatus
3.xv312+Current
2.xv211.11+Supported (docs)
0.xv1Unsupported

Version Matching

Inertia Modal 3.x only works with Inertia.js v3. If you're using Inertia.js v2, use Inertia Modal 2.x instead.

Backend

  • PHP 8.2+
  • Laravel 12+ or Laravel 13+
  • Inertia Laravel 3.0+

Frontend

  • Tailwind CSS 4+ (or use headless mode with Tailwind CSS 3)
  • React: React 19+ with @inertiajs/react 3.0+
  • Vue: Vue 3.4+ with @inertiajs/vue3 3.0+

TypeScript Support

Both the React and Vue packages include TypeScript type definitions. You can import types from the packages:

ts
import type { ModalConfig, ModalTypeConfig } from '@inertiaui/modal-vue'
ts
import type { ModalConfig, ModalTypeConfig } from '@inertiaui/modal-react'