    @if(strlen($label ?? '') > 0)
        <div class="inline-flex items-center gap-1">
    @endif
        <x-svg
            :name="$icon()"
            {{ $attributes->class(['inline flex-shrink-0', 'w-5 h-5' => !Str::contains($attributes->get('class') ?? '', ['w-', 'h-']) ]) }}
        />

    @if(strlen($label ?? '') > 0)
            <div class="{{ $labelClasses() }}" {{ $attributes->whereStartsWith('@') }}>
                {{ $label }}
            </div>
        </div>
    @endif