@props([ 'name', 'id' => null, 'label' => null, 'type' => 'text', 'value' => null, 'autocomplete' => null, 'required' => false, ])
@if ($label) @endif has($name)) aria-invalid="true" aria-describedby="{{ $id ?? $name }}-error" data-field-error-id="{{ $id ?? $name }}-error" @endif {{ $attributes->class([ 'min-w-0 w-full rounded-xl border bg-white dark:bg-slate-900 px-3.5 py-2.5 text-sm text-slate-900 dark:text-slate-100 outline-none transition', 'border-slate-300 dark:border-slate-600 focus:border-brand-500 focus:ring-4 focus:ring-brand-100 dark:focus:ring-brand-900/50', ]) }} > @error($name)

{{ $message }}

@enderror