© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
F
Filament
•
2y ago
•
4 replies
Frédéric
Custom header widget with HTML
Hello
,
I would like to put some Html
(come from blade file
.
) into a widget
. I found the getHeading but it seams to be escape
.
.
.
Thx in advance
Solution
Where do you want to put that HTML
? Every widget has it
's own view file so you can override it there
. For
getHeading()
getHeading()
you need to return
HtmlString
HtmlString
otherwise it
's treated as non
-html
Jump to solution
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Was this page helpful?
Yes
No
Similar Threads
Recent Announcements
Similar Threads
Custom Html Widget.
F
Filament / ❓┊help
3y ago
Custom validation with HTML
F
Filament / ❓┊help
3y ago
Add widget to header
F
Filament / ❓┊help
2y ago
getHeaderActions with custom header view
F
Filament / ❓┊help
2y ago