Preview
Usage
Props
Permission name required to show the button. Uses Laravel’s
@can directive.Panel name to dispatch an event for opening a slide-over or modal. Alternative to
url.Examples
Basic Empty State
With URL Action
With Panel Action
Use a panel action to open a slide-over or modal instead of navigating:Without Button
When you don’t want to show an action button:Custom Slot Content
The default slot is used for the illustration on the left side:Usage in Livewire Components
Empty states are typically rendered conditionally when a collection is empty:Blade Component Source
The Empty State component is located atpackages/admin/resources/views/components/empty-state.blade.php: