nawasara/modal
Reusable Blade + Livewire modal components for Laravel. Includes a Blade x-nawasara-modal::modal and a universal Livewire modal you place once in your layout, then open from anywhere with openModal() to load any Livewire component with params.
<x-slot:footer>) promotes clean separation of concerns.@click="openModal"). Minimal learning curve.openModal('id').resources/views/vendor/nawasara-modal/).!important sparingly; prefer scoped CSS (e.g., Tailwind’s @apply).composer require nawasara/modal
php artisan vendor:publish --provider="Nawasara\Modal\ModalServiceProvider"
resources/js/modal.js).<x-nawasara-modal::modal> components.openModal('modal-id').<livewire:nawasara-modal.livewire-modal /> to the layout.openModal({
id: 'modal-livewire',
title: 'Edit Profile',
component: 'profile-edit',
params: { userId: 1 }
});
composer.json (e.g., ^1.0.0).wire:model, events).open, close) to track usage and issues.wire:ignore for static content in Livewire modals.wire:cache).How can I help you explore Laravel packages today?