@props(['name', 'type'])
<div class="w-full flex flex-col justify-start items-start">
    <input type="{{ $type }}" name="{{ $name }}"
        class="bg-gray-50 text-gray-900 text-sm rounded-lg block w-full p-2.5" {{ $attributes }} />
    <div>
        @error($name)
            <span class="error-text">{{ $message }}</span>
        @enderror
    </div>
</div>
