© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
11 replies
thc1967

Styling in a Livewire Form

I've recently upgraded from v2 to v3, but the styling in the Livewire form was wonky before that. It was just usable, now it's not.

In the Filament Admin Panel, the form displays nicely (image 1). In my Livewire component, not so much (image 2).

It gets worse if I try to put a FIle Upload control into a Livewire form. Instead of the beautiful and drag & drop interface, I get the browser's select file button and a mess of other text.

When I inspect the elements in the browser, the class names of the controls labels, divs, etc., seem to be consistent between those very different looks.

I'm sure I've missed a step or dependency somewhere. Unfortunately, after some internet searching and reading similar issues on this Discord, I'm fresh out of ideas of places to look.
image.png
image.png
Solution
I found it. This was an upgrade from Laravel 9, Tailwind 2, and Filament 2 to Laravel 10, Tailwind 3, and Filament 3.
There were changes that I needed to make to my tailwind.config.js file to reference the Filament presets. I may have missed that piece all the way back to the old version.
Like I said, the styling classes were there, they just weren't applying. Now they are.
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
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Styling issues in Livewire components
FilamentFFilament / ❓┊help
3y ago
Livewire component in form
FilamentFFilament / ❓┊help
2y ago
Table Styling Problem Livewire
FilamentFFilament / ❓┊help
14mo ago
No styling in InfoList when used in a livewire component?
FilamentFFilament / ❓┊help
2y ago