Detached Slide-Overs by Filafly
CommunityMake slide-overs float off the edge of the screen as a rounded card, for one action with ->detached() or for every slide-over in the panel, notifications included, with a configurable gap and radius, RTL and dark mode.
Author:
Filafly
Package health
Automated checks of this plugin's Composer package
15 checks
- Skipped: GitHub Actions pinned to SHA
- Skipped: GitLab CI includes pinned to SHA
- Passed: Open security advisories
- Passed: Dependabot PR responsiveness — No open Dependabot PRs.
- Skipped: Renovate MR responsiveness
- Failed: Dependabot or Renovate configured — Updater is configured but covers none of the ecosystems in use. View details on Plumb
- Passed: Dependency update cooldown configured
- Passed: Provides a security policy
- Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
- Passed: Commit and release recency — Active: last commit 0 days ago; last release 5 days ago.
-
Passed:
composer.lock not committed by library
—
composer.lockis absent from the released dist archive. - Passed: Dist archive is lean
-
Passed:
Current Laravel version supported
— Package dependencies resolve together with current Laravel
13.0. -
Passed:
Current PHP version supported
— Constraint
^8.2supports current PHP8.6. - Skipped: Current Symfony version supported
filament/
namespace. Review the source and install at your own risk. Found
malware or an unresolved security issue the author won't
address?
Report it
.
Documentation
- Requirements
- Installation
- One action at a time
- Every slide-over in a panel
- Spacing and corners
- How it looks
- Testing
- From FilaFly
- Credits
- License
Slide-overs that float off the edge of the screen. Instead of a full-height panel stuck to the side, a slide-over opens as a rounded card with a little of the page showing around it, the same shape as Filament's centered modals.
It's the slide-over from Lucent, FilaFly's premium theme, pulled out so it works in any panel and with any theme.

#Requirements
- PHP 8.2+
- Filament 4.11+ or 5.6+, the releases that added left and right slide-overs (tested with 4.13 on Laravel 12 and 5.11 and 5.12 on Laravel 13)
#Installation
You can install the package via Composer:
composer require filafly/filament-detached-slide-overs
Not sure which Laravel and PHP versions your Filament version needs? See the Filament version compatibility guide.
Publish the assets:
php artisan filament:assets
There are two ways to use it: detach one action at a time, or every slide-over in a panel.
#One action at a time
Call detached() on any action. It opens the action in a slide-over, so you don't need slideOver() as well.
use Filament\Actions\Action;
Action::make('edit')
->detached()
->schema([
// ...
])
That's all it takes: no plugin to register. It works on page header actions, table actions and actions in forms and infolists, and with slideOverPosition() for slide-overs that open from the left.
If you set extraModalWindowAttributes() on the same action, pass merge: true or call it before detached(), so it doesn't replace the class detached() adds.
#Every slide-over in a panel
Register the plugin in your panel provider:
use Filafly\DetachedSlideOvers\DetachedSlideOversPlugin;
public function panel(Panel $panel): Panel
{
return $panel
->plugin(DetachedSlideOversPlugin::make());
}
Now every slide-over in that panel is detached: actions that call slideOver(), and the slide-overs Filament draws itself, such as the database notifications panel. Centered modals are left as they are.
To keep one slide-over on the edge of the screen, call detached(false) on its action:
Action::make('history')
->slideOver()
->detached(false)
#everywhere(bool $condition = true)
Pass false to register the plugin for its gap() and radius() settings only, and detach just the actions that call detached().
#Spacing and corners
#gap(?string $gap)
The space between the slide-over and the edges of the screen, as a CSS length. Defaults to 0.5rem on phones and 1rem from the sm breakpoint (40rem) up. A gap you set is used at every size.
#radius(?string $radius)
The corner radius, as a CSS length. Defaults to 0.75rem, the radius of Filament's centered modals.
DetachedSlideOversPlugin::make()
->gap('1.5rem')
->radius('1rem')
Both are CSS custom properties, so a theme can set them instead:
| Property | Default | Purpose |
|---|---|---|
--fi-detached-slide-over-gap |
0.5rem, 1rem from sm |
Space to the screen edges |
--fi-detached-slide-over-radius |
0.75rem |
Corner radius |
:root {
--fi-detached-slide-over-gap: 1.25rem;
}
#How it looks
- The slide-over keeps its width (
modalWidth()), header, footer and sticky header and footer. Its corners clip whatever scrolls inside it. - It slides all the way in from off screen and back out, past the gap, in both left-to-right and right-to-left layouts.
- On phones it fills the screen apart from the gap, so the page stays visible at the edges.
- It follows light and dark mode, since it only changes the slide-over's position and shape, not its colors.
#Testing
composer test
#From FilaFly
This slide-over comes from Lucent, a premium Filament theme with a clean, minimal look for the whole panel: sidebar, tables, forms, widgets and notifications. See Lucent.
#Credits
#License
The MIT License (MIT). Please see License for more information.
The author
Filafly specializes in creating captivating themes and intuitive plugins for Filament. By focusing on aesthetics and user-friendly design, Filafly provides developers with seamless, high-impact solutions that elevate the look and feel of any Filament-powered project.
From the same author
Identity Column
A reusable identity column for Filament Tables and Infolists.
Author:
Filafly
Iconoir Icons
Transform your Filament interface with the elegant and modern Iconoir icon set, a perfect replacement for the default icons.
Author:
Filafly
Phosphor Icons
Quickly swap out all icons used by the Filament framework with Phosphor icons.
Author:
Filafly
Brisk Theme
A free theme for Filament that brings a simple, friendly design to your admin panels and forms. Carefully crafted to enhance your application's visual appeal while maintaining Filament's powerful functionality.
Author:
Filafly
Featured Plugins
A selection of plugins curated by the Filament team
Blueprint
Filament Blueprint is a premium Laravel Boost extension that helps AI agents produce accurate, detailed implementation plans and security reports for Filament apps.
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 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