How to show FilamentIcon inside Placeholder

This example selects correct "icon class" (instead of icon itself).
I would like to show FilamentIcon instead.

Placeholder::make('boolean')
    ->content(fn (string $state): string => match ($state) {
        '1' => 'heroicon-o-check',
        default => 'heroicon-x-circle'
    }
)


Could not find example how to do it:
https://filamentphp.com/docs/3.x/support/icons
Was this page helpful?