FilamentF
Filament14mo ago
Adel

custom field styling

I am not able to style my custom field using tailwind classes!

I created the field using make:form-field command but when using tailwind classes to style the component not all classes are being applied!
Solution
To have all classes - you need to build a custom theme.

By default, Filament comes with pre-compiled class list (since that's how tailwindcss works). If you need anything else - you have to use custom themes
Was this page helpful?