© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
2 replies
eliaszobody

Reorder form components based on screen size.

Basically, I have 2 form sections: a main section, and a config section. On screen sizes of
lg
lg
or larger I'd like the config section to be to the right of the main section, but on mobile screens I want the config section to stack on top of the main section.

Because the display for a form is
grid
grid
, I can't add an extra attribute of
flex-row-reverse
flex-row-reverse
. And filament (to my knowledge) doesn't allow me to add classes or inline styles to the direct child elements of this grid. Otherwise the solution would be a simple
order-first
order-first
and
order-last
order-last
.

I also attempted using the
->columnStart()
->columnStart()
method, but that didn't reorder the sections, it simply created a weird offset on desktop.

Is there any non-hackish way to solve this issue?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

show/hide reorder based on conditions?
FilamentFFilament / ❓┊help
3y ago
extraAttributes on Form components
FilamentFFilament / ❓┊help
3y ago
Hide Text Form Input based on Selected Data from other Form Components
FilamentFFilament / ❓┊help
3y ago
How to load different table columns based on screen size?
FilamentFFilament / ❓┊help
8mo ago