© 2026 Hedgehog Software, LLC

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

Spatie Media Library grid columns

Hello, is there any way to change the number of columns using the SpatieMediaLibraryFileUpload component, this is the code I got:

SpatieMediaLibraryFileUpload::make('images')
->label('Images')
->multiple()
->panelLayout('grid')
->columns(6)
->collection('places'),

but the result it's always a 3 column grid.

Thanks in advance for any advice.
image.png
Solution
Only way to adjust this would be with css.
Jump to solution
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

Spatie Media Library
FilamentFFilament / ❓┊help
10mo ago
Spatie Media Library
FilamentFFilament / ❓┊help
14mo ago
filament-spatie-media-library
FilamentFFilament / ❓┊help
15mo ago
spatie media library Wizard
FilamentFFilament / ❓┊help
2y ago