@props(['name', 'label' => null, 'type' => 'text', 'error' => null])
only('class') }}> @if($label) @endif except('class')->merge(['class' => 'w-full rounded-xl border border-border px-4 py-3 focus:border-primary focus:outline-none focus:ring-2 focus:ring-primary/20'.($error ? ' border-danger' : '')]) }} /> @if($error) @endif