@props([
    'label' => null,
    'for' => null,
    'hint' => '',
])

@php
    $attributes = $attributes->class([
        'label',
    ])->merge([
    ]);
@endphp

@if ($label || !$slot->isEmpty())
    <label {{ $attributes }} for="{{$for}}" >{!! $label ?? $slot !!}
        @if(!empty($hint))
        &nbsp;<span class="text-gray-600 text-sm">({{ $hint }})</span>
        @endif
    </label>
@endif