Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

inertia-modal-development

Skill by inertiaui

Builds and works with inertiaui/modal features in Laravel and Inertia.js apps. It opens routes in modals and slideovers for React and Vue projects.

  • Score 78
  • 248 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install inertia-modal-development

Built from the published package, never by AI.

git clone --depth 1 https://github.com/inertiaui/modal /tmp/modal && mkdir -p ~/.claude/skills && cp -r /tmp/modal/resources/boost/skills/inertia-modal-development ~/.claude/skills/inertia-modal-development

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install inertia-modal-development in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an AI assistant through building with inertiaui/modal, a package that opens Laravel routes in a Modal or Slideover. According to the source, it works without modifying existing routes or controllers, and it supports both React and Vue. It covers the Inertia::modal() backend call, the ModalLink and Modal components, configuration, prefetching, local and nested modals, event communication, and headless mode.

The skill points the assistant to a reference guide and lists patterns to follow, such as using Inertia::modal() instead of Inertia::render(). It also warns against certain mistakes, such as using the Inertia router for form posts in nested modals. It is aimed at developers building Laravel and Inertia.js applications with modal interfaces.

Written from the project's SKILL.md and checked against it.

What it can do

  • Opening routes as modalsUses Inertia::modal() to open a Laravel route in a Modal or Slideover.
  • Base route supportAdds a base route with baseRoute() to enable URL changes and browser history.
  • ModalLink and Modal componentsProvides components to link to routes in modals and to build modal content.
  • Programmatic visitsOpens modals from code with visitModal, using the modal stack in React.
  • Modal configurationSets modal and slideover behavior such as close options, width, padding, and position.
  • PrefetchingCovers prefetching modal routes, as listed in the skill scope.
  • Local and nested modalsCovers local modals and modals opened inside other modals.
  • Event communicationCovers passing events between modals.
  • Headless modeCovers the HeadlessModal option for custom styling.
  • Deferred and WhenVisibleExplains using the modal package versions of Deferred and WhenVisible inside modals.

What you need

  • Laravel
  • Inertia.js
  • React or Vue
  • inertiaui/modal package

Try asking

  • Open my users edit page in a modal using Inertia::modal()
  • Configure my modal to close only on backdrop clicks
  • Set up a nested modal that submits a form with Axios

Good to know

  • Modal routes must use Inertia::modal(), not Inertia::render().
  • Inside nested modals, form posts should use Axios, not the Inertia router.
  • Only covers Laravel with Inertia.js; non-Laravel backends are out of scope.
  • closeExplicitly overrides closeOnClickOutside when both are set.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: resources/boost/skills/inertia-modal-development/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB
  • references/inertia-modal-guide.md16 KB

Alternatives to inertia-modal-development

All alternatives →

Compare with react-component-performance, react-component-performance or lecture-style

inertia-modal-development: common questions

What does inertiaui/modal do?

It lets you open any Laravel route in a Modal or Slideover without changing existing routes or controllers, according to the source.

Does inertiaui/modal work with React and Vue?

Yes. The source says it supports both React and Vue, with separate packages for each.

Can I use nested modals with inertiaui/modal?

Yes. The source covers nested modals and advises using Axios for form submissions inside them to avoid closing the whole stack.

How do I install inertia-modal-development?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is inertia-modal-development free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is inertia-modal-development safe to use?

It scores 78 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to inertia-modal-development?

Similar skills: react-component-performance, react-component-performance, lecture-style, workshop-style.

inertia-modal-development Install

Add to stack

Loading.