© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•12mo ago•
2 replies
Citizen

How can I re-use the filament boolean icon in more places?

I'm thinking something like this:

TextEntry::make('phone_verified_at')
    ->icon(static fn (User $record) => $record->phone_verified_at ? 'filament-boolean-true' : 'filament-boolean-false')
    ->label('Verified At')
    ->dateTime('F j, Y, g:i a')
    ->placeholder('Not Verified'),
TextEntry::make('phone_verified_at')
    ->icon(static fn (User $record) => $record->phone_verified_at ? 'filament-boolean-true' : 'filament-boolean-false')
    ->label('Verified At')
    ->dateTime('F j, Y, g:i a')
    ->placeholder('Not Verified'),


But not just here also other places like generally in the UI. Is there a default component that I can invoke, that way if filament ever changes the icon or colors my checkmark icons will change as well? Hoping to keep things consistent.
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

use filament icon in skill icon
FilamentFFilament / ❓┊help
3y ago
How can I use Filament styles?
FilamentFFilament / ❓┊help
2y ago
How can I use Filament Spatie Translatable with SEO Filament ?
FilamentFFilament / ❓┊help
11mo ago
How can I use custom svg icon in form suffix action?
FilamentFFilament / ❓┊help
3y ago