Draggable Modal
Make all your Filament modals draggable by their headers with zero configuration.
Author:
Narayan Dhakal
Documentation

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.
The author
Full Stack Laravel Developer with 2+ years of experience building scalable web applications and cross-platform mobile solutions. Specialized in PHP/Laravel backend development with proven expertise in RESTful API design, database optimization, and third-party integrations.
From the same author
Featured Plugins
A selection of plugins curated by the Filament team
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Filament
Advanced Tables (formerly Filter Sets)
Supercharge your tables with powerful features like user-customizable views, quick filters, multi-column sorting, advanced table searching, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Kenneth Sese
Custom Fields
Eliminate custom field migrations forever. Let your users create and manage form fields directly in Filament admin panels with 20+ built-in field types, validation, and zero database changes.
Relaticle