@props([ 'alignment' => 'center', // left, center, right 'gap' => 3 ]) @php $alignmentClass = match($alignment) { 'left' => 'justify-content-start', 'right' => 'justify-content-end', default => 'justify-content-center' }; $gapClass = "gap-{$gap}"; @endphp
{{ $slot }}