@props([ 'title' => null, // Optional title, can be passed directly or replaced with header slot 'classes' => NULL, // Additional classes for the card container ])
{{-- Header --}} @if ($title || isset($header))
@if ($title)

{{ lang_trans($title) }}

@endif @if (isset($header)) {{ $header }} @endif
@endif {{-- Body --}}
{{ $slot }}
{{-- Footer --}} @isset($footer)
{{ $footer }}
@endisset