PHPackages                             andisiahaan/livewire-dialog - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. andisiahaan/livewire-dialog

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

andisiahaan/livewire-dialog
===========================

A powerful Livewire dialog system with stack management, multiple dialog types, and rich customization

1.0.0(6mo ago)01MITPHPPHP ^8.2

Since Dec 17Pushed 6mo agoCompare

[ Source](https://github.com/andisiahaan/livewire-dialog)[ Packagist](https://packagist.org/packages/andisiahaan/livewire-dialog)[ RSS](/packages/andisiahaan-livewire-dialog/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Livewire Dialog
===============

[](#livewire-dialog)

A powerful dialog system for Laravel Livewire with stack management, multiple dialog types (Modal, Sheet, Drawer), and rich customization options.

[![Latest Version on Packagist](https://camo.githubusercontent.com/cd250056193a89869555ea027b2de348a4b9a267b2a5ec9f6b4751b936ff9e65/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616e64697369616861616e2f6c697665776972652d6469616c6f672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/andisiahaan/livewire-dialog)[![Total Downloads](https://camo.githubusercontent.com/41231cde7b69dea0e1856a2acc9185842cbd326bdafd5e9bc12bdbedf8cf8685/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616e64697369616861616e2f6c697665776972652d6469616c6f672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/andisiahaan/livewire-dialog)

Features
--------

[](#features)

- **Stack-Based Management** - Open multiple dialogs with automatic history management
- **Multiple Dialog Types** - Modal, Sheet (bottom slide), Drawer (side slide), Alert, Confirm
- **Configurable Animations** - Fade, Scale, Slide-up, Slide-down, Slide-left, Slide-right
- **Position Options** - Center, Top, Bottom, Left, Right
- **Preset System** - Reusable configuration presets
- **Lifecycle Hooks** - `onOpening()`, `onClosing()`, `onClosed()`
- **Fluent Configuration** - `DialogOptions::make()->size('lg')->dismissible()`
- **Full Livewire 4 Support**

Installation
------------

[](#installation)

```
composer require andisiahaan/livewire-dialog
```

Quick Start
-----------

[](#quick-start)

### 1. Add Dialog Container

[](#1-add-dialog-container)

Add the Livewire directive to your layout (before ``):

```

    @livewire('dialog-container')

```

### 2. Create a Dialog Component

[](#2-create-a-dialog-component)

```
