F
Filament12mo ago
MAF

Is there a way to use Heroicons inside HtmlString?

I want to use some Heroicons inside HtmlString.
1 Reply
MAF
MAFOP12mo ago
For now, I used
return new HtmlString(
Blade::render(
"<a href=\"link\">my label-<x-filament::icon icon=\"heroicon-o-check-badge\" /></a>"
)
);
return new HtmlString(
Blade::render(
"<a href=\"link\">my label-<x-filament::icon icon=\"heroicon-o-check-badge\" /></a>"
)
);
Want results from more Discord servers?
Add your server