Empty States
Transform potentially frustrating "no data" moments into engaging opportunities for user interaction. Rather than leaving users staring at blank tables, Filament's empty state system lets you create helpful, branded experiences that guide users toward their next action. From simple customized messages to sophisticated interactive layouts with call-to-action buttons, these tools turn empty tables into conversion opportunities.
# Basic empty state customization
Control the message, icon, and description that users see when tables contain no data. Perfect for providing context about why the table is empty and what users can expect to see once data is available. Use meaningful icons and clear, encouraging language to maintain user confidence.
return $table
->columns([
// Your columns ...
])
->emptyStateHeading('No orders yet')
->emptyStateDescription('Orders will appear here once customers start placing them.')
->emptyStateIcon('heroicon-o-shopping-cart');