class([
'flex flex-col items-center justify-center text-center',
'py-12 px-6' => !$compact,
'py-6 px-4' => $compact,
]) }}
>
@if($icon)
!$compact,
'mb-3 size-10' => $compact,
])>
!$compact,
'size-5' => $compact,
])
/>
@endif
!$compact,
'text-sm' => $compact,
])>
{{ $title }}
@if($description)
!$compact,
'mt-1 text-xs' => $compact,
])>
{{ $description }}
@endif
@if($slot->isNotEmpty())
!$compact, 'mt-3' => $compact])>
{{ $slot }}
@endif