© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•17mo ago•
2 replies
baranka

How to build filament CSS/assets when using the Panel builder?

I'm a little lost on how exactly the panel builder manages assets. I am trying to add some tailwind utility classes to some elements on my panel pages, but these do not seem to be included in the pre-built filament CSS file that the panel uses.

The docs aren't really clear on how I can re-build this file (if at all?). There are some examples on how to scaffold the tailwind and vite config, but these seem to be related to individual concepts liek Actions, rather than panels? For instance, panels do not seem to use the app layout at all...

Additonally, I am using Filament as an admin panel, separate from the rest of my site. I don't want to mix up the assets for them.

Is there a way to include a CSS file in Filament asset "pipeline" which would be processed by postcss, etc?

I also read about https://filamentphp.com/docs/3.x/support/assets but that seems to be geared towards package authors?
Assets - Core Concepts - Filament
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

Build Filament assets using vite
FilamentFFilament / ❓┊help
12mo ago
npm run build creates public/build/assets/app-XXX.css but page loads css/filament/filament/app.css
FilamentFFilament / ❓┊help
6mo ago
Using filament tables outside the panel
FilamentFFilament / ❓┊help
3y ago
Method Filament\Panel::assets does not exist.
FilamentFFilament / ❓┊help
2y ago