sanzgrapher/filament-draggable-modal

Make Filament modals draggable.
7,049 18
Install
composer require sanzgrapher/filament-draggable-modal
Latest Version:v1.1.1
PHP:^8.2
License:MIT
Last Updated:Apr 26, 2026
Links: GitHub  ·  Packagist
Maintainer: sanzgrapher

Filament Draggable Modal

Filament Draggable Modal Feature

Latest Version on Packagist Total Downloads

A simple yet powerful Filament v5 plugin to make all your modals draggable. Improve your users' flow by allowing them to move modals out of the way to see the content underneath.

Features

  • Zero Configuration: Just register the plugin and it works.
  • Filament v5 Ready: Designed specifically for the latest Filament version.
  • Smooth Dragging: Uses fixed positioning and handles CSS transforms to prevent jumping.
  • Smart Handle Detection: Draggable by the modal header, but buttons and inputs remain clickable.

Installation

You can install the package via composer:

composer require sanzgrapher/filament-draggable-modal

Usage

Register the plugin in your Panel Provider (usually AdminPanelProvider.php):

use Sanzgrapher\DraggableModal\DraggableModalPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        // ... other configuration
        ->plugin(DraggableModalPlugin::make());
}

Troubleshooting

If the modals are not draggable after installation, ensure you have published the assets:

php artisan filament:assets

Security

If you discover any security-related issues, please email narayandhakal443@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

maystro/filament-popup-modal

A comprehensive modal dialog system for FilamentPHP with progress bars, callback...

7 1
phpsa/filament-password-reveal

Password Input with option to show

157,095 51
pboivin/filament-peek

Full-screen page preview modal for Filament

413,534 252
watheqalshowaiter/filament-sticky-table-header

A Filament plugin that makes table headers stick when scrolling down for better...

62,819 36
phpsa/filament-authentication

User & Role (via Spatie Roles/Permissions) Manager Resource For Filament Admin

68,273 128