Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Modal Laravel Package

inertiaui/modal

inertiaui/modal brings powerful modal windows to Laravel Inertia apps. Create route-driven modals, nested modals, slideovers, and persistent layouts with minimal setup—no separate API required. Works with Vue 3, React, and Svelte through one simple, elegant API.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for modal/slideover UI: Offloads an undifferentiated but deceptively fiddly piece of frontend infrastructure (focus trapping, URL state, back-button handling, nested stacking) so the team invests engineering time in product logic instead of overlay plumbing. MIT licensing keeps the decision reversible.
  • Roadmap sequencing for "context-preserving" flows: Enables a class of features that keep users on the page they came from — record previews, quick-create, inline edit, detail drill-downs, settings panels, confirmation flows. These are often the fastest path to measurable wins in task completion time and clicks-per-action, which makes them attractive early-roadmap items.
  • Architecture choice: full-page navigation vs. in-place interaction. Because the package opens existing routes without touching controllers, PMs can pilot a modal/slideover experience on a live route, measure engagement and completion against the full-page baseline, and only then commit to a broader UX direction. It turns a UX debate into an A/B test rather than a rewrite.
  • Scope negotiation with design: "One route, two presentations" lets design ship the same feature surface as both a page and an overlay. That reduces the back-and-forth over whether a given flow deserves its own page and lets the PM defer that call to data.
  • Concrete use cases worth slotting into a backlog: CRM/account quick-view from a list, order or ticket detail slideover, create/edit forms invoked from anywhere, nested confirmation flows, onboarding or setup panels, filter/command palettes.
  • De-risking a migration or replatform: For a Laravel + Inertia app moving from server-rendered pages to an SPA feel, this is a low-cost way to add SPA-style responsiveness before committing to a heavier frontend architecture.

When to Consider This Package

Adopt when:

  • The stack is Laravel + Inertia.js + Vue or React, and the team has already standardized on Inertia for navigation.
  • You want modals/slideovers that deep-link and survive refresh and back-button without inventing your own query-string contract.
  • You need nested overlays or overlays that can themselves link to routes — a common source of homegrown bugs.
  • Backend routes and controllers are considered frozen or expensive to change; zero-backend-change adoption is a real scheduling advantage.
  • You want a small, MIT-licensed, single-purpose dependency rather than a full component library.

Look elsewhere when:

  • The frontend is not Inertia (plain Vue/React SPA, Livewire, or server-rendered Blade). The value proposition largely evaporates.
  • Your design system already ships a mature modal/dialog primitive with accessibility guarantees; layering a second overlay implementation creates two competing patterns and inconsistent focus/keyboard behavior.
  • Requirements include complex multi-step wizards with their own persistence — those are usually better as routes with real state, not overlays.
  • Community size is a governance concern. At roughly 246 stars and a single-maintainer profile, treat it as a low-opportunity, low-differentiation dependency: pin the version, wrap it behind an internal component, and avoid letting it leak into many call sites.
  • Strict accessibility certification (WCAG audit, screen-reader-specific requirements) is in scope and you cannot validate the library's behavior against your own test matrix.

How to Pitch It (Stakeholders)

To executives: This is a small, free (MIT) frontend utility that lets us add modern, context-preserving interactions — quick views, inline edit, slideover details — without rebuilding pages or touching our backend. It converts a UX debate into a cheap experiment: we can ship an overlay version of a flow, measure task completion and clicks against the current full-page version, and keep whichever wins. Low cost, reversible, no vendor lock-in. The main caveat is that it is a young, small-community project, so we'll pin the version and isolate it behind our own component to keep switching costs near zero.

To engineering: Drop-in for the Inertia stack. It opens any existing route in a modal or slideover with no changes to routes or controllers, and handles the parts we'd otherwise hand-roll — URL state, back-button, nested overlays. We'll adopt it behind an internal wrapper component so the dependency stays swappable, pin the version, and add it to our dependency review cadence given the maintainer concentration risk. Estimated integration is days, not weeks, and it does not expand our API surface.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect