© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
tom hatzer

Remove/customize default button classes

Hey everyone!

I've got a requirement to make the buttons look more like the corporate design of the client which looks quite different than the buttons currently look in filament. Is there a way to have existing classes for the button component (specified in the
$buttonClasses
$buttonClasses
variable inside of
vendor/filament/support/resources/views/components/button/index.blade.php
vendor/filament/support/resources/views/components/button/index.blade.php
) removed?
I'd need to have them customized as there are a few classes that I can't remove as the
extraAttributes()
extraAttributes()
method only adds/merges classes but doesn't remove them.

Thank you very much!
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

Customize button
FilamentFFilament / ❓┊help
3y ago
Default tailwind classes
FilamentFFilament / ❓┊help
2y ago
Customize the default Create Button Process/Action on Table
FilamentFFilament / ❓┊help
3y ago
Remove default Buttons:
FilamentFFilament / ❓┊help
3y ago