<x-form.group label="{{ $label ?? $name }}" class="{{ $classGroup ?? '' }}">
    <div class="input-group mb-3">
        <div class="input-group-prepend">
         {{$slot}}
        </div>
        <input  type="{{ $type ?? 'text' }}" class="form-control {{ $class ?? '' }}{{ $errors->has($name) ? ' is-invalid' : '' }}"  name="{{$name}}" value="{{ $value?? '' }}" />
        @if ($errors->has($name)) 
        <div class="invalid-feedback">
            {{  $errors->first($name) }}
        </div>
        @endif
    </div>
</x-form.group>