{{-- "You have nothing here yet": an Expressive shape with an icon on it, a title, a line of explanation and the action that fills the space. Not an M3 component; built from M3 Expressive's parts — `shape` (any `` name, `cookie-9` by default) in secondary-container behind the `icon` in on-secondary-container, a title-large `title`, body-medium `description` or slot. For "your filter matched nothing" use a plain line of text instead: a picture there is consolation for a typo. An application with its own artwork puts it in the `illustration` slot, which is drawn in place of the shape and icon (both props are then unused). The slot sizes itself; its attributes go on the element around it, so `style` can set the colour an SVG's `currentColor` takes: A slot holding only whitespace or comments counts as empty, and the shape and icon stay. Drawn by resources/css/components/empty-state.css from `data-md-empty-state`; no class list. --}} @props([ 'icon' => 'inbox', 'shape' => 'cookie-9', 'title' => null, 'description' => null, ])
@if (isset($illustration) && $illustration->hasActualContent())
attributes }}>{{ $illustration }}
@else
@endif @if ($title)

{{ $title }}

@endif @if ($description || $slot->isNotEmpty())
{{ $description ?? $slot }}
@endif @isset($actions)
{{ $actions }}
@endisset