Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
New lines or HTML in emptyStateDescription - Filament
F
Filament
•
3y ago
•
4 replies
Raj Siva-Rajah
New lines or HTML in emptyStateDescription
Hi all
Is there any way to add line breaks in the emptyStateDescription
? I
've tried
:
-
>emptyStateDescription
(
'Line 1
.
'
. PHP
_EOL
.
'Line 2
.
'
)
;
but no joy
. It
'd be great if there was a way to pass in HTML
.
Solution
new HtmlString('html goes here')
new HtmlString('html goes here')
, maybe
?
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
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Accessing $livewire in emptyStateDescription() method
F
Filament / ❓┊help
3y ago
How to render HTML in a Table's empty state description, e.g. emptyStateDescription()
F
Filament / ❓┊help
3y ago
emptyStateHeading and emptyStateDescription not working in RelationManager tables
F
Filament / ❓┊help
17mo ago
Rich editor and new lines
F
Filament / ❓┊help
3y ago