@props([ 'icon' => 'inbox', 'title' => 'No data available yet', 'message' => null, 'compact' => false, ]) {{-- | The empty state is the honest alternative to a fake chart. | | It is styled to look deliberate rather than broken - this system genuinely | has one customer today, and a dashboard that renders a flat axis or an | invisible donut reads as a bug. A calm "nothing here yet, here's why" | communicates the same fact without looking wrong. --}}
merge(['class' => 'flex flex-col items-center justify-center text-center ' . ($compact ? 'py-8' : 'py-14')]) }}>

{{ $title }}

@if ($message)

{{ $message }}

@endif @if (! $slot->isEmpty())
{{ $slot }}
@endif