يجلب Livewire v4 دعم الفتحات بأسلوب Blade للمكونات.
الفتحات الافتراضية
<wire:modal>إنشاء منشور</wire:modal>الفتحات المسماة
<wire:modal>
<wire:slot name="header">
<h1>إنشاء منشور</h1>
</wire:slot>
<form>...</form>
</wire:modal>في المكون
@if ($header = $slot('header'))
{{ $header }}
@endif
{{ $slot }}