@props([
    'title',
    'description' => null,
])

<section {{ $attributes->class(['mf-form-section']) }} data-ui="form-section">
    <div class="mf-form-section-head">
        <div class="min-w-0">
            <h2 class="mf-form-section-title">{{ $title }}</h2>
            @if($description)<p class="mf-form-section-copy">{{ $description }}</p>@endif
        </div>
        @isset($actions)<div class="mf-form-section-actions">{{ $actions }}</div>@endisset
    </div>
    <div class="mf-form-section-body">
        {{ $slot }}
    </div>
</section>
