Visually examine the layout of your Filament app.
✨ Help support the maintenance of this package by sponsoring me.
- Install the package via composer:
composer require --dev sakanjo/filament-layout-inspector
- Add the plugin's views to your tailwind.config.js file.
content: [
'./vendor/sakanjo/filament-layout-inspector/resources/**/*.blade.php',
]
<?php
// ...
use SaKanjo\FilamentLayoutInspector\LayoutInspectorPlugin;
public function panel(Panel $panel): Panel
{
return $panel
->plugin(
LayoutInspectorPlugin::make()
->visible(fn () => app()->isLocal())
->screens([
'4xl' // max-4xl:hidden
'5xl' // max-5xl:hidden
])
);
}
Do you like this project? Support it by donating
Click the "💖 Sponsor" at the top of this repo.
MIT License © 2023-PRESENT Salah Kanjo