© 2026 Hedgehog Software, LLC

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

File upload preview green gradient

How do I remove the green gradient so that I can see the whole logo while uploading it ?
<?php

 Forms\Components\FileUpload::make('logo')
                                    ->rules([
                                        'image',    // Must be an image file
                                        'mimes:jpeg,png,jpg', // Allowed file extensions
                                        'max:2048', // Maximum file size in kilobytes (adjust as needed)
                                    ])
                                    ->disk('company_logo') // from filesystems.php
                                    ->helperText('Recommended size 300px wide. Maximum file size 2mb. Allowed file type png, jpg, jpeg.')
                                    ->maxFiles(1),
<?php

 Forms\Components\FileUpload::make('logo')
                                    ->rules([
                                        'image',    // Must be an image file
                                        'mimes:jpeg,png,jpg', // Allowed file extensions
                                        'max:2048', // Maximum file size in kilobytes (adjust as needed)
                                    ])
                                    ->disk('company_logo') // from filesystems.php
                                    ->helperText('Recommended size 300px wide. Maximum file size 2mb. Allowed file type png, jpg, jpeg.')
                                    ->maxFiles(1),
image.png
Solution
the file uploader uses Filepond, so you can check the classes and overwrite them in 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

File upload preview
FilamentFFilament / ❓┊help
3y ago
File Upload Preview Issue
FilamentFFilament / ❓┊help
6mo ago
preview file after upload
FilamentFFilament / ❓┊help
15mo ago
File (image) upload preview as grid
FilamentFFilament / ❓┊help
2y ago