@props([ 'id', 'label', 'icon' => null, 'href' => null, 'linkLabel' => 'Open', 'buttonClass' => 'w-full sm:w-1/3 justify-start', 'panelClass' => 'w-full sm:w-1/3', ]) @php // Safe JS string for Alpine comparisons $jsId = \Illuminate\Support\Js::from($id); @endphp
class('w-full') }}> {{ $label }}
{{-- Your totals / content --}} {{ $slot }} @if($href)
{{ $linkLabel }}
@endif