© 2026 Hedgehog Software, LLC

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

How to add custom html text or just insert HTML Entities inside hintIcon tooltip

Textarea::make('data')
    ->hintIcon('heroicon-m-question-mark-circle', tooltip: new HtmlString('Gender &rarr; M/Z, M/Ž, M/F<br>Birthday &rarr; DD. MM. RRRR, DD. MM., DDMM'))
...
Textarea::make('data')
    ->hintIcon('heroicon-m-question-mark-circle', tooltip: new HtmlString('Gender &rarr; M/Z, M/Ž, M/F<br>Birthday &rarr; DD. MM. RRRR, DD. MM., DDMM'))
...


I tried doing this but it just resulted in this but it was inserted as is in the string without applying those attributes...
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 have HTML content inside tooltip
FilamentFFilament / ❓┊help
2y ago
Hinticon tooltip argument is not recognized
FilamentFFilament / ❓┊help
3y ago
add text inside the text
FilamentFFilament / ❓┊help
2y ago
Formatting Tooltip to return rendered HTML instead of plain text
FilamentFFilament / ❓┊help
12mo ago