@props(['title' => 'Nothing here yet', 'message' => null, 'icon' => 'box'])

<div class="flex flex-col items-center justify-center px-6 py-14 text-center">
    <div class="mb-3 flex h-12 w-12 items-center justify-center rounded-full bg-slate-100 text-slate-400 dark:bg-slate-800">
        <x-ui.icon :name="$icon" class="h-6 w-6" />
    </div>

    <p class="text-sm font-medium text-slate-700 dark:text-slate-200">{{ $title }}</p>

    @if ($message)
        <p class="mt-1 max-w-sm text-sm text-slate-500 dark:text-slate-400">{{ $message }}</p>
    @endif

    @isset($actions)
        <div class="mt-4 flex items-center gap-2">{{ $actions }}</div>
    @endisset
</div>
