<div class="flex">
  <label for="{{$inputName}}" class="mt-2 mr-2 block text-sm font-medium text-gray-700">{{$labelName}}</label>
  
    <input value="{{$value??''}}" type="{{$inputType}}" name="{{$inputName}}" id="{{$inputName}}" class="focus:ring-indigo-500 focus:border-indigo-500 block w-full p-2 sm:text-sm border-gray-200 border rounded-sm" placeholder="{{$placeholder }}" required="{{$required??''}}"">
    
  </div>

  {{$slot}}