The Empty Card component displays a centered empty state within card or panel areas. It’s more compact than the full Empty State component.
Preview
Usage
<x-shopper::empty-card heading="No zones available" description="Create shipping zones to define where you deliver products." icon="untitledui-globe-02"/>
Props
string
required
The main heading text.
string
default:"null"
Optional description text below the heading.
string
default:"null"
Icon name to display above the heading (uses Blade Icons).
Slot
default:"null"
Optional slot for action buttons.
Examples
With Action Button
<x-shopper::empty-card heading="No products" description="Start by adding your first product to the catalog." icon="untitledui-package"> <x-slot:action> <x-filament::button wire:click="create"> Add Product </x-filament::button> </x-slot:action></x-shopper::empty-card>
Without Icon
<x-shopper::empty-card heading="No addresses saved" description="Customer addresses will appear here."/>