{{-- Empty State Component - LucentUI Theme Migrated from AdminLTE to Tailwind Usage: Create Server --}} @props([ 'title' => 'No data', 'description' => null, 'icon' => 'ri-inbox-line', 'iconClass' => null, 'compact' => false, ])
class([ 'flex flex-col items-center justify-center text-center', 'py-12 px-6' => !$compact, 'py-6 px-4' => $compact, ]) }} x-data="{ loaded: false }" x-init="setTimeout(() => loaded = true, 100)" :class="loaded ? 'opacity-100 translate-y-0' : 'opacity-0 translate-y-4'" class="transition-all duration-500 ease-out" > @if($icon)
@endif

{{ $title }}

@if($description)

{{ $description }}

@endif @if($slot->isNotEmpty())
{{ $slot }}
@endif