FiltersLayout

Would it be possible to create a custom FiltersLayout? We have a client who is adamant about having the filters on the left side of the screen persistently, like many shops have for their stores. The layout of the slideout modal is the closest to what we want, but we can't get it on the left, nor can we get it to stay in a non-modal. I've been trying to figure out how to create it but I'm not sure what the best way to go about doing that would be. Anyone do this before?
1 Reply
Dhru
Dhru2d ago
I haven’t done it, but my guess is you need to extend the filers layout component and create a custom component class / view with a blade template(essentially creating a new livewire component. This tutorial explains how to do that for forms and next one with an info list etc but is the same idea for any of the view components https://filamentphp.com/docs/3.x/forms/layout/custom Another approach if you can do it via pure css is you can publish a theme and edit the .css Finally also just publish the views and directly change the html of the existing component but will break updates / be less maintainable

Did you find this page helpful?