@props([ 'id' => null, 'error' => '', 'label' => '', 'name' => '', 'placeholder' => '', 'type' => 'text', 'value' => '', ]) @php $id = $id ?: $name; if (!$error && $errors->has($name)) { $error = $errors->first($name); } @endphp
merge([ 'class' => 'flex cursor-text w-full px-[1.875rem] py-3 rounded-2xl border border-neutral-700 border-solid bg-neutral-800 outline-none transition hover:shadow', ]) }}> @if ($error)

{{ $error }}

@endif