Skip to content
@inertiajs

Inertia.js

Build frontend experiences with the backend you love.

Inertia.js

About Inertia.js

Inertia.js lets builders ship modern single-page applications in React, Vue, or Svelte without building an API. Your backend keeps doing what it already does well: routing, controllers, models, authorization, validation. Instead of returning a template, it returns a page component with its data. Inertia connects the two halves, so a click never triggers a full page reload.

It all stays in one application: one codebase, one router, one source of truth, and the single-page experience your users expect. Fewer moving parts means fewer decisions between an idea and a production application, whether a human or an agent is writing the code.

Everything a real product needs, designed to work together:

  • Page visits, forms, file uploads with progress, and server-side validation
  • Optimistic updates that render before the server responds and roll back if it fails
  • Partial reloads, deferred props, prefetching, polling, and infinite scroll
  • Server-side rendering, code splitting, and view transitions
  • History encryption for pages that hold sensitive data
  • DevTools that show every request, header, and hydrated prop while you build

Adapters

Inertia is the layer between your backend and your frontend, and it works through adapters. It doesn't replace the frameworks you already use, on either side. The React, Vue, and Svelte adapters all live in the inertiajs/inertia repository. On the server, the Laravel adapter is officially maintained, and community adapters cover Rails, Phoenix, Django, Symfony, AdonisJS, Go, .NET, and more.

Laravel's official React, Vue, and Svelte starter kits are built on Inertia. A new application begins with login, registration, password resets, email verification, two-factor authentication, and profile settings already working.

Learning Inertia.js

The documentation takes you from installation to how the protocol works under the hood. Prefer to read code? The demo application is a mini CRM built with Laravel and Vue, with showcase pages for forms, navigation, data loading, prefetching, state management, and error handling. Its source is in the demo-v3 repository.

Deploying Inertia.js

An Inertia application runs anywhere your backend does. The fastest path from idea to production is Laravel Cloud. Connect a repository and you can deploy a app in under a minute. There are no servers to configure, and your asset build and SSR server are handled for you. Add a managed database, cache, or object storage in seconds, with the right environment variables connected for you automatically. With Flex compute, your full stack scales to zero when it's idle and wakes in under 500 milliseconds, which means staging environments and side projects cost nothing while nobody is using them. The Starter plan is $5 a month and comes with $5 in usage credits included. Try Cloud with your first month for free.

Contributing

Bug reports and pull requests are welcome. Please open issues on the repository of the adapter they apply to. Security vulnerabilities should be reported privately, as described in our security policy.

Pinned Loading

  1. inertia inertia Public

    Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.

    TypeScript 8.1k 558

  2. inertia-laravel inertia-laravel Public

    The Laravel adapter for Inertia.js.

    PHP 2.5k 289

  3. demo-v3 demo-v3 Public

    The official Inertia.js v3 demo application. A comprehensive Kitchen Sink app built with Laravel and Vue.

    Vue 63 16

  4. docs docs Public

    MDX 10 23

  5. inertia-devtools inertia-devtools Public

    Chrome DevTools panel for inspecting Inertia.js requests, page props, route metadata, response bodies, and client-side page state.

    TypeScript 31 6

Repositories

Showing 10 of 14 repositories
  • inertia-rails Public

    The Rails adapter for Inertia.js.

    inertiajs/inertia-rails's past year of commit activity
    Ruby 1,233 MIT 104 3 7 Updated Sep 9, 2026
  • inertia Public

    Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.

    inertiajs/inertia's past year of commit activity
    TypeScript 8,109 MIT 558 5 8 Updated Sep 8, 2026
  • inertia-laravel Public

    The Laravel adapter for Inertia.js.

    inertiajs/inertia-laravel's past year of commit activity
    PHP 2,474 MIT 289 2 5 Updated Sep 4, 2026
  • inertia-devtools Public

    Chrome DevTools panel for inspecting Inertia.js requests, page props, route metadata, response bodies, and client-side page state.

    inertiajs/inertia-devtools's past year of commit activity
    TypeScript 31 MIT 6 1 1 Updated Aug 19, 2026
  • docs Public
    inertiajs/docs's past year of commit activity
    MDX 10 MIT 23 1 4 Updated Aug 18, 2026
  • inertia-django Public

    The Django adapter for Inertia.js

    inertiajs/inertia-django's past year of commit activity
    Python 598 MIT 58 3 3 Updated Aug 16, 2026
  • .github Public
    inertiajs/.github's past year of commit activity
    3 4 0 1 Updated Aug 7, 2026
  • demo-v3 Public

    The official Inertia.js v3 demo application. A comprehensive Kitchen Sink app built with Laravel and Vue.

    inertiajs/demo-v3's past year of commit activity
    Vue 63 16 0 3 Updated Jul 22, 2026
  • inertia-phoenix Public

    The Phoenix adapter for Inertia.js.

    inertiajs/inertia-phoenix's past year of commit activity
    Elixir 499 24 1 1 Updated Jul 15, 2026
  • pingcrm Public

    A demo application to illustrate how Inertia.js works.

    inertiajs/pingcrm's past year of commit activity
    PHP 2,326 MIT 811 2 5 Updated Feb 6, 2025