© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
Bagus A

TextColumn Dynamic Color

In table we can change column color with

TextColumn::make('status')
    ->color('primary')
TextColumn::make('status')
    ->color('primary')


How can we change the color dynamically, for example if status is shipped then, it's success, if status is cancelled then it's danger.
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

Placeholder color in TextColumn
FilamentFFilament / ❓┊help
2y ago
Dynamic badge blade color
FilamentFFilament / ❓┊help
14mo ago
Custom colors with TextColumn badges
FilamentFFilament / ❓┊help
3y ago
Enum TextColumn badge() with label, icon and color
FilamentFFilament / ❓┊help
3y ago