<div class="form-check">
    <!--div class="choice-input flex items-center h-5"-->
        <input {!! $attributes->class($type === 'checkbox' ? 'form-check-input' : 'form-check-input')->except('type') !!}
               @if ($name) name="{{ $name }}" @endif
               @if ($id) id="{{ $id }}" @endif
               type="{{ $type }}"
               @if ($value) value="{{ $value }}" @endif
               @if ($checked && ! $hasBoundModel()) checked @endif
               {{ $extraAttributes }}
               {!! $ariaDescribedBy() !!}
               @if ($hasErrorsAndShow($name))
                   aria-invalid="true"
               @endif
        />
    <!--/div-->

    @if (! $slot->isEmpty() || $label || $description)
        <!--div class=""-->
            @if (! $slot->isEmpty() || $label)
                <label for="{{ $id }}" class="form-check-label">
                    @if ($label)
                        {{ $label }}
                    @else
                        {{ $slot }}
                    @endif
                </label>
            @endif

            @if ($description)
                <p class="choice-description text-slate-500">{{ $description }}</p>
            @endif
        <!--/div-->
    @endif
</div>
