laravel-inertia-react

Define Laravel, Inertia, and React patterns for pages, forms, and layouts.

62|9|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/AsyrafHussin/agent-skills --skill laravel-inertia-react
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: laravel-inertia-react
Source: https://github.com/AsyrafHussin/agent-skills/tree/main/skills/laravel-inertia-react
Command: npx skills add https://github.com/AsyrafHussin/agent-skills --skill laravel-inertia-react

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Centralized, reusable patterns for building modern Laravel + Inertia.js + React applications, reducing duplication and increasing consistency across projects.

Core Features & Use Cases

  • Page component typing with PageProps, Head management, and persistent layouts
  • Form handling with useForm, validation, and file uploads
  • Shared data provisioning for auth, flash messages, and route helpers (Ziggy)
  • Navigation patterns using Link and router for SPA-like transitions
  • Advanced patterns like partial reloads, preserveScroll, and nested layouts

Quick Start

Begin by applying page-component patterns to a new Inertia page, then wire in shared data and forms to deliver a cohesive full-stack experience.

Frequently Asked Questions about laravel-inertia-react

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle forms and validation in a Laravel Inertia React app?▼

Share global data in Laravel Inertia React by provisioning auth, flash messages, and route helpers. This pattern ensures type-safe page props and consistent data sharing practices across your full-stack application.

How do I share global data like auth and flash messages in Inertia React?▼

Share global data in Laravel Inertia React by provisioning auth, flash messages, and route helpers. This pattern ensures type-safe page props and consistent data sharing practices across your full-stack application.

What is the best way to type Inertia page props with Ziggy routes in TypeScript?▼

Implement persistent layouts in Inertia React by applying organized component patterns across routes. This allows you to maintain consistent navigation and structural UI without duplicating layout code.

How do I implement persistent layouts across routes in Inertia React?▼

Implement persistent layouts in Inertia React by applying organized component patterns across routes. This maintains consistent navigation and structural UI without duplicating layout code.

Can I use partial reloads and preserveScroll for SPA-like transitions in Inertia React?▼

Use partial reloads and preserveScroll in Inertia React to achieve SPA-like transitions. These advanced patterns enable efficient data fetching and scrolling state management during navigation.