{{-- Bordered form section with an icon tile, title, optional subtitle and header actions (language pills, "Generate with AI", a type picker...). --}} @props(['title', 'subtitle' => null, 'icon' => null, 'hint' => null])
merge(['class' => 'ec-section']) }}>
@if ($icon) @endif
{{ $title }}@if ($hint) {{ $hint }}@endif
@if ($subtitle)

{{ $subtitle }}

@endif
@isset($actions)
{{ $actions }}
@endisset
{{ $slot }}