@props([ 'actions' => null, 'actionsVerticalAlignment' => 'center', 'border' => false, 'color' => null, 'description' => null, 'icon' => null, 'iconVerticalAlignment' => 'center', 'iconAnimation' => null, 'link' => null, 'linkBlank' => false, 'linkLabel' => null, 'title' => null, ]) @php use function Filament\Support\get_color_css_variables; $colors = \Illuminate\Support\Arr::toCssStyles([ get_color_css_variables($color, shades: [50, 100, 400, 500, 700, 800]), ]); $iconClasses = \Illuminate\Support\Arr::toCssClasses([ 'h-5 w-5 text-custom-400', $iconAnimation, ]); @endphp
class([ 'filament-simple-alert rounded-md bg-custom-50 p-4 dark:bg-custom-400/10', 'ring-1 ring-custom-100 dark:ring-custom-500/70' => $border, ]) }} style="{{ $colors }}">
@if($icon)
@endif
@if($title || $description)
@if($title)

{{ $title }}

@endif @if($description)

{{ $description }}

@endif
@endif @if($link || $actions)
@if($link)

{{ $linkLabel }}

@endif @if($actions)
@foreach ($actions as $action) @if ($action->isVisible()) {{ $action }} @endif @endforeach
@endif
@endif