© 2026 Hedgehog Software, LLC

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

Use Tailwind classes in Custom Pages

Hello guys,

I'm having an issue with Tailwind styles not working in custom pages of Filament. Here's the situation:

1. I've created a custom page in Filament with
php artisan make:filament-page
php artisan make:filament-page
.
2. I'm trying to use Tailwind classes like
bg-blue-500
bg-blue-500
and
text-white
text-white
in this page.
3. These Tailwind classes are working fine in my user-frontend, where I am using them with Svelte.
4. However, in my Filament custom page, the styles aren't being applied at all.

I've double-checked my
tailwind.config.js
tailwind.config.js
and it includes my custom views.

```js
module.exports = {
content: [
'./resources/*/.blade.php',
],
};
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

How to use tailwind classes in custom pages
FilamentFFilament / ❓┊help
3y ago
Use tailwind in custom column
FilamentFFilament / ❓┊help
3y ago
How to use all available Tailwind classes in custom ViewRecord page?
FilamentFFilament / ❓┊help
15mo ago
tailwind classes not working in a custom modal
FilamentFFilament / ❓┊help
5w ago